Browse Source

Merge pull request #3303 from nocodb/fix/Fixed-stale-filter-badge-issue-and-improved-ui-for-column-filter

vue3: Fixed stale fields badge issue and improved ui for fields menu
pull/3268/head
Raju Udava 2 years ago committed by GitHub
parent
commit
5315d80b7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/nc-gui-v2/components/smartsheet-toolbar/FieldsMenu.vue

4
packages/nc-gui-v2/components/smartsheet-toolbar/FieldsMenu.vue

@ -64,7 +64,7 @@ watch(
{ immediate: true }, { immediate: true },
) )
const isAnyFieldHidden = computed(() => fields.value?.some((field) => !(!showSystemFields && field.system) && !field.show)) const isAnyFieldHidden = computed(() => filteredFieldList.value?.some((field) => !field.show))
const onMove = (event: { moved: { newIndex: number } }) => { const onMove = (event: { moved: { newIndex: number } }) => {
// todo : sync with server // todo : sync with server
@ -130,7 +130,7 @@ const getIcon = (c: ColumnType) =>
<a-divider class="!my-2" /> <a-divider class="!my-2" />
<div v-if="!isPublic" class="p-2 py-1 flex" @click.stop> <div v-if="!isPublic" class="p-2 py-1 flex" @click.stop>
<a-checkbox v-model:checked="showSystemFields"> <a-checkbox v-model:checked="showSystemFields" class="!items-center">
<span class="text-xs"> {{ $t('activity.showSystemFields') }}</span> <span class="text-xs"> {{ $t('activity.showSystemFields') }}</span>
</a-checkbox> </a-checkbox>
</div> </div>

Loading…
Cancel
Save