Skip to content

Commit

Permalink
fix(filters): change url when toggle column in table
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Mar 11, 2021
1 parent 7b76fd2 commit 7001632
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/FieldGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<ColumnField
:field="field"
:checked="$store.getters.fieldExists(field)"
@click="$emit('toggleField', field)"
@click="$emit('toggleField', field, false, true)"
:class="{ active: $store.getters.fieldExists(field) }"
></ColumnField>
</el-dropdown-item>
Expand All @@ -48,7 +48,7 @@
:checked="$store.getters.fieldExists(field)"
v-for="field in group.fields"
:key="field.name"
@click="$emit('toggleField', field)"
@click="$emit('toggleField', field, false, true)"
:class="{ active: $store.getters.fieldExists(field) }"
v-if="$store.getters.fieldExists(field) && !opened"
></ColumnField>
Expand All @@ -75,7 +75,7 @@
<ColumnField
:field="field"
:checked="$store.getters.fieldExists(field)"
@click="$emit('toggleField', field)"
@click="$emit('toggleField', field, false, true)"
:class="{ 'available-fields__field': true, active: $store.getters.fieldExists(field) }"
v-for="field in group.fields"
:key="'content' + field.name"
Expand Down

0 comments on commit 7001632

Please sign in to comment.