From 0afcc2cdfeda72af6b503e398c91325b62765112 Mon Sep 17 00:00:00 2001 From: Alexey Zinoviev Date: Tue, 4 Jun 2024 18:13:38 +0400 Subject: [PATCH] ezqms-910: fix workspace roles editing (#5726) Signed-off-by: Alexey Zinoviev --- plugins/setting-resources/src/components/Owners.svelte | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plugins/setting-resources/src/components/Owners.svelte b/plugins/setting-resources/src/components/Owners.svelte index 93a306a4b5..f3fe52a839 100644 --- a/plugins/setting-resources/src/components/Owners.svelte +++ b/plugins/setting-resources/src/components/Owners.svelte @@ -24,12 +24,9 @@ export let visibleNav: boolean = true const dispatch = createEventDispatcher() - const client = getClient() - const query = createQuery() - - const currentRole = getCurrentAccount().role + const currentAccount = getCurrentAccount() const items: DropdownIntlItem[] = [ { id: AccountRole.User, label: setting.string.User }, @@ -73,7 +70,7 @@