mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 19:11:33 +03:00
remove issues count (#3205)
Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>
This commit is contained in:
parent
278563421a
commit
123828d078
@ -2,7 +2,7 @@
|
||||
import { Ref, Space } from '@hcengineering/core'
|
||||
import { TabList, SearchEdit } from '@hcengineering/ui'
|
||||
import { Viewlet } from '@hcengineering/view'
|
||||
import { focusStore, FilterButton, setActiveViewletId } from '@hcengineering/view-resources'
|
||||
import { FilterButton, setActiveViewletId } from '@hcengineering/view-resources'
|
||||
import tracker from '../../plugin'
|
||||
import { WithLookup } from '@hcengineering/core'
|
||||
import ModeSelector from '../ModeSelector.svelte'
|
||||
@ -23,8 +23,6 @@
|
||||
tooltip: views.$lookup?.descriptor?.label
|
||||
}
|
||||
})
|
||||
$: count = $focusStore.provider?.docs().length
|
||||
$: headerTitle = count === undefined ? label : `${label} (${count})`
|
||||
</script>
|
||||
|
||||
<div
|
||||
@ -37,7 +35,7 @@
|
||||
<slot name="label_selector" />
|
||||
{:else}
|
||||
{#if label}
|
||||
<span class="ac-header__title">{headerTitle}</span>
|
||||
<span class="ac-header__title">{label}</span>
|
||||
{/if}
|
||||
{#if modeSelectorProps !== undefined}
|
||||
<ModeSelector props={modeSelectorProps} />
|
||||
|
Loading…
Reference in New Issue
Block a user