mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-02-13 01:12:01 +01:00
actually call the getter (#1800)
This commit is contained in:
parent
68cf3fd412
commit
735d963aae
@ -781,7 +781,7 @@ export class PreviewModel implements ViewModel {
|
||||
}
|
||||
|
||||
async formatRemoteUri(path: string, get: Getter): Promise<string> {
|
||||
const conn = (await globalStore.get(this.connection)) ?? "local";
|
||||
const conn = (await get(this.connection)) ?? "local";
|
||||
return `wsh://${conn}/${path}`;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user