|
|
|
@ -395,9 +395,8 @@ const filterOrGroupByThisField = (event: SmartsheetStoreEvents) => {
|
|
|
|
|
</NcMenuItem> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<a-divider v-if="!column?.pk" class="!my-0" /> |
|
|
|
|
<a-divider class="!my-0" /> |
|
|
|
|
|
|
|
|
|
<template v-if="true"> |
|
|
|
|
<NcTooltip :disabled="isFilterSupported && !isFilterLimitExceeded"> |
|
|
|
|
<template #title> |
|
|
|
|
{{ |
|
|
|
@ -409,8 +408,8 @@ const filterOrGroupByThisField = (event: SmartsheetStoreEvents) => {
|
|
|
|
|
}} |
|
|
|
|
</template> |
|
|
|
|
<NcMenuItem |
|
|
|
|
@click="filterOrGroupByThisField(SmartsheetStoreEvents.FILTER_ADD)" |
|
|
|
|
:disabled="!isFilterSupported || isFilterLimitExceeded" |
|
|
|
|
@click="filterOrGroupByThisField(SmartsheetStoreEvents.FILTER_ADD)" |
|
|
|
|
> |
|
|
|
|
<div v-e="['a:field:add:filter']" class="nc-column-filter nc-header-menu-item"> |
|
|
|
|
<component :is="iconMap.filter" class="text-gray-700" /> |
|
|
|
@ -420,9 +419,7 @@ const filterOrGroupByThisField = (event: SmartsheetStoreEvents) => {
|
|
|
|
|
</NcMenuItem> |
|
|
|
|
</NcTooltip> |
|
|
|
|
|
|
|
|
|
<NcTooltip |
|
|
|
|
:disabled="(isGroupBySupported && !isGroupByLimitExceeded) || isGroupedByThisField || !(isEeUI && !isPublic)" |
|
|
|
|
> |
|
|
|
|
<NcTooltip :disabled="(isGroupBySupported && !isGroupByLimitExceeded) || isGroupedByThisField || !(isEeUI && !isPublic)"> |
|
|
|
|
<template #title>{{ |
|
|
|
|
!isGroupBySupported |
|
|
|
|
? "This field type doesn't support grouping" |
|
|
|
@ -447,7 +444,6 @@ const filterOrGroupByThisField = (event: SmartsheetStoreEvents) => {
|
|
|
|
|
</NcTooltip> |
|
|
|
|
|
|
|
|
|
<a-divider class="!my-0" /> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<NcMenuItem v-if="!column?.pk" :disabled="!isDuplicateAllowed" @click="openDuplicateDlg"> |
|
|
|
|
<div v-e="['a:field:duplicate']" class="nc-column-duplicate nc-header-menu-item"> |
|
|
|
|