mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 03:37:43 +02:00
Add Create application icon, Panel header update (#504)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
@@ -23,13 +23,13 @@
|
||||
import type { Ref, Space, Client } from '@anticrm/core'
|
||||
import type { Application, NavigatorModel, ViewConfiguration } from '@anticrm/workbench'
|
||||
import { setClient, Avatar, createQuery } from '@anticrm/presentation'
|
||||
import workbench from '@anticrm/workbench'
|
||||
import workbench from '../plugin'
|
||||
|
||||
import Navigator from './Navigator.svelte'
|
||||
import SpaceHeader from './SpaceHeader.svelte'
|
||||
import SpaceView from './SpaceView.svelte'
|
||||
|
||||
import { AnyComponent, Component, location, Popup, showPopup, TooltipInstance } from '@anticrm/ui'
|
||||
import { AnyComponent, Component, location, Popup, showPopup, TooltipInstance, closeTooltip } from '@anticrm/ui'
|
||||
import core from '@anticrm/core'
|
||||
import AccountPopup from './AccountPopup.svelte'
|
||||
import AppItem from './AppItem.svelte'
|
||||
@@ -94,7 +94,14 @@
|
||||
<div class="panel-app">
|
||||
<div class="flex-col">
|
||||
<ActivityStatus status="active"/>
|
||||
<AppItem icon={TopMenu} label={'Navigator'} selected={!visibileNav} action={async () => { visibileNav = !visibileNav }}/>
|
||||
<AppItem
|
||||
icon={TopMenu}
|
||||
label={visibileNav ? workbench.string.HideMenu : workbench.string.ShowMenu}
|
||||
action={async () => {
|
||||
visibileNav = !visibileNav
|
||||
closeTooltip()
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
<Applications {apps} active={currentApp}/>
|
||||
<div class="flex-center" style="min-height: 6.25rem;">
|
||||
|
||||
@@ -22,6 +22,8 @@ export default mergeIds(workbenchId, workbench, {
|
||||
string: {
|
||||
More: '' as IntlString,
|
||||
Delete: '' as IntlString,
|
||||
Create: '' as IntlString
|
||||
Create: '' as IntlString,
|
||||
ShowMenu: '' as IntlString,
|
||||
HideMenu: '' as IntlString
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user