Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
// limitations under the License.
-->
<script lang="ts">
import { FavoriteType, MasterTag } from '@hcengineering/card'
import core, { Class, Doc, getCurrentAccount, Ref } from '@hcengineering/core'
import preference from '@hcengineering/preference'
import { createQuery, getClient } from '@hcengineering/presentation'
import { Action, getCurrentLocation, navigate, location as locationStore } from '@hcengineering/ui'
import { MasterTag, FavoriteType } from '@hcengineering/card'
import { TreeNode } from '@hcengineering/view-resources'
import { GroupsNavModel } from '@hcengineering/workbench'
import { Action, getCurrentLocation, location as locationStore, navigate } from '@hcengineering/ui'
import view from '@hcengineering/view'
import preference from '@hcengineering/preference'
import TagHierarchy from './TagHierarchy.svelte'
import { setFilters, TreeNode } from '@hcengineering/view-resources'
import { GroupsNavModel } from '@hcengineering/workbench'
import card from '../../plugin'
import TagHierarchy from './TagHierarchy.svelte'

export let model: GroupsNavModel

Expand Down Expand Up @@ -73,6 +73,7 @@
function selectType (type: Ref<MasterTag>): void {
const loc = getCurrentLocation()
loc.path = buildTypePath(loc.path, type)
setFilters([])
navigate(loc)
}

Expand Down
Loading