1
0
forked from test/crm

fix: remove sort in kanban view

This commit is contained in:
Shariq Ansari 2024-06-22 00:07:06 +05:30
parent fda377f6d2
commit 1909517c3e

View File

@ -60,6 +60,7 @@
<div class="flex gap-2"> <div class="flex gap-2">
<SortBy <SortBy
v-if="route.params.viewType !== 'kanban'"
v-model="list" v-model="list"
:doctype="doctype" :doctype="doctype"
@update="updateSort" @update="updateSort"
@ -161,7 +162,12 @@
:default_filters="filters" :default_filters="filters"
@update="updateFilter" @update="updateFilter"
/> />
<SortBy v-model="list" :doctype="doctype" @update="updateSort" /> <SortBy
v-if="route.params.viewType !== 'kanban'"
v-model="list"
:doctype="doctype"
@update="updateSort"
/>
<KanbanSettings <KanbanSettings
v-if="route.params.viewType === 'kanban'" v-if="route.params.viewType === 'kanban'"
v-model="list" v-model="list"