Browse Source

fix: hide logical operator dropdown if it's first group

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2670/head
Pranav C 2 years ago
parent
commit
669de37d6b
  1. 2
      packages/nc-gui/components/project/spreadsheet/components/ColumnFilter.vue

2
packages/nc-gui/components/project/spreadsheet/components/ColumnFilter.vue

@ -13,7 +13,9 @@
> >
mdi-close-box mdi-close-box
</v-icon> </v-icon>
<span v-if="!i" class="caption d-flex align-center">{{ $t('labels.where') }}</span>
<v-select <v-select
v-else
v-model="filter.logical_op" v-model="filter.logical_op"
class="flex-shrink-1 flex-grow-0 elevation-0 caption" class="flex-shrink-1 flex-grow-0 elevation-0 caption"
:items="['and', 'or']" :items="['and', 'or']"

Loading…
Cancel
Save