mirror of
https://github.com/hexedtech/codemp-vscode.git
synced 2024-11-22 15:34:49 +01:00
fix: show owned workspaces in the tree view
Some checks are pending
test / build-test (push) Waiting to run
Some checks are pending
test / build-test (push) Waiting to run
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