mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-26 13:47:26 +03:00
Enable kanban filter (#2243)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
261284df29
commit
b2223035a9
@ -23,6 +23,7 @@
|
||||
import { showPopup } from '@anticrm/ui'
|
||||
import {
|
||||
ActionContext,
|
||||
FilterBar,
|
||||
focusStore,
|
||||
ListSelectionProvider,
|
||||
SelectDirection,
|
||||
@ -102,6 +103,8 @@
|
||||
listProvider.updateSelection(evt.detail.docs, evt.detail.value)
|
||||
}
|
||||
const onContextMenu = (evt: any) => showMenu(evt.detail.evt, evt.detail.objects)
|
||||
$: query = { doneState: null, space }
|
||||
let resultQuery = query
|
||||
</script>
|
||||
|
||||
{#await cardPresenter then presenter}
|
||||
@ -110,13 +113,14 @@
|
||||
mode: 'browser'
|
||||
}}
|
||||
/>
|
||||
<FilterBar {_class} {query} on:change={(e) => (resultQuery = e.detail)} />
|
||||
|
||||
<KanbanUI
|
||||
bind:this={kanbanUI}
|
||||
{_class}
|
||||
{search}
|
||||
{options}
|
||||
query={{ doneState: null, space }}
|
||||
query={resultQuery}
|
||||
{states}
|
||||
fieldName={'state'}
|
||||
rankFieldName={'rank'}
|
||||
|
Loading…
Reference in New Issue
Block a user