mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-06 06:58:21 +00:00
actually call the getter (#1800)
This commit is contained in:
parent
68cf3fd412
commit
735d963aae
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue