Browse Source

fix(gui-v2): sync sort on direction change

pull/2860/head
Pranav C 2 years ago committed by Pranav C
parent
commit
b6c007269f
  1. 2
      packages/nc-gui-v2/components/smartsheet-toolbar/SortListMenu.vue

2
packages/nc-gui-v2/components/smartsheet-toolbar/SortListMenu.vue

@ -68,7 +68,7 @@ watch(
class="flex-shrink-1 flex-grow-0 caption nc-sort-dir-select !text-xs" class="flex-shrink-1 flex-grow-0 caption nc-sort-dir-select !text-xs"
:label="$t('labels.operation')" :label="$t('labels.operation')"
@click.stop @click.stop
@update:model-value="saveOrUpdate(sort, i)" @update:value="saveOrUpdate(sort, i)"
> >
<a-select-option <a-select-option
v-for="(option, j) in getSortDirectionOptions(columnByID[sort.fk_column_id]?.uidt)" v-for="(option, j) in getSortDirectionOptions(columnByID[sort.fk_column_id]?.uidt)"

Loading…
Cancel
Save