mirror of
https://github.com/hexedtech/codemp-vscode.git
synced 2024-12-22 13:34:52 +01:00
fix: show owned workspaces in the tree view
Some checks failed
test / build-test (push) Has been cancelled
Some checks failed
test / build-test (push) Has been cancelled
This commit is contained in:
parent
cd54f12126
commit
20b955ab14
1 changed files with 3 additions and 1 deletions
|
@ -150,7 +150,9 @@ export async function join(selected: vscode.TreeItem | undefined) {
|
|||
|
||||
export async function listWorkspaces() {
|
||||
if (client === null) return vscode.window.showWarningMessage("Connect first");
|
||||
workspace_list = await client.fetchJoinedWorkspaces();
|
||||
let workspace_joined = await client.fetchJoinedWorkspaces();
|
||||
let workspace_owned = await client.fetchOwnedWorkspaces();
|
||||
workspace_list = workspace_owned.concat(workspace_joined);
|
||||
provider.refresh();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue