diff --git a/plugins/setting-resources/src/components/Settings.svelte b/plugins/setting-resources/src/components/Settings.svelte index 4e98dfb74d..c0956f36ba 100644 --- a/plugins/setting-resources/src/components/Settings.svelte +++ b/plugins/setting-resources/src/components/Settings.svelte @@ -129,10 +129,7 @@ { - selectCategory(categories[0].name) - } + visibileNav }} /> {/if} diff --git a/plugins/setting-resources/src/components/WorkspaceSettings.svelte b/plugins/setting-resources/src/components/WorkspaceSettings.svelte index ced71cd28f..34c55bac54 100644 --- a/plugins/setting-resources/src/components/WorkspaceSettings.svelte +++ b/plugins/setting-resources/src/components/WorkspaceSettings.svelte @@ -17,7 +17,7 @@ import { AccountRole, getCurrentAccount } from '@hcengineering/core' import { createQuery } from '@hcengineering/presentation' import setting, { SettingsCategory } from '@hcengineering/setting' - import ui, { Button, Component, getCurrentLocation, IconBack, Label, location, navigate } from '@hcengineering/ui' + import { Component, getCurrentLocation, Label, location, navigate } from '@hcengineering/ui' import { onDestroy } from 'svelte' import CategoryElement from './CategoryElement.svelte' @@ -28,7 +28,6 @@ const account = getCurrentAccount() as EmployeeAccount export let visibileNav = true - export let onFirstCategory: () => void const settingsQuery = createQuery() settingsQuery.query( @@ -64,18 +63,9 @@ {#if visibileNav}
-
-
+ +
{#each categories as category}