|
|
@ -163,9 +163,8 @@ const { isSqlView } = useSmartsheetStoreOrThrow() |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<template #expandIcon></template> |
|
|
|
<template #expandIcon></template> |
|
|
|
<a-menu-item> |
|
|
|
<a-menu-item v-if="isUIAllowed('csvImport') && !isView && !isPublicView"> |
|
|
|
<div |
|
|
|
<div |
|
|
|
v-if="isUIAllowed('csvImport') && !isView && !isPublicView" |
|
|
|
|
|
|
|
v-e="['a:actions:upload-csv']" |
|
|
|
v-e="['a:actions:upload-csv']" |
|
|
|
class="nc-project-menu-item" |
|
|
|
class="nc-project-menu-item" |
|
|
|
:class="{ disabled: isLocked }" |
|
|
|
:class="{ disabled: isLocked }" |
|
|
@ -180,13 +179,8 @@ const { isSqlView } = useSmartsheetStoreOrThrow() |
|
|
|
</a-sub-menu> |
|
|
|
</a-sub-menu> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<a-menu-divider /> |
|
|
|
<a-menu-divider /> |
|
|
|
<a-menu-item> |
|
|
|
<a-menu-item v-if="isUIAllowed('SharedViewList') && !isView && !isPublicView"> |
|
|
|
<div |
|
|
|
<div v-e="['a:actions:shared-view-list']" class="py-2 flex gap-2 items-center" @click="sharedViewListDlg = true"> |
|
|
|
v-if="isUIAllowed('SharedViewList') && !isView && !isPublicView" |
|
|
|
|
|
|
|
v-e="['a:actions:shared-view-list']" |
|
|
|
|
|
|
|
class="py-2 flex gap-2 items-center" |
|
|
|
|
|
|
|
@click="sharedViewListDlg = true" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<MdiViewListOutline class="text-gray-500" /> |
|
|
|
<MdiViewListOutline class="text-gray-500" /> |
|
|
|
<!-- Shared View List --> |
|
|
|
<!-- Shared View List --> |
|
|
|
{{ $t('activity.listSharedView') }} |
|
|
|
{{ $t('activity.listSharedView') }} |
|
|
@ -203,13 +197,8 @@ const { isSqlView } = useSmartsheetStoreOrThrow() |
|
|
|
{{ $t('objects.webhooks') }} |
|
|
|
{{ $t('objects.webhooks') }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-menu-item> |
|
|
|
</a-menu-item> |
|
|
|
<a-menu-item> |
|
|
|
<a-menu-item v-if="!isSharedBase && !isPublicView"> |
|
|
|
<div |
|
|
|
<div v-e="['c:snippet:open']" class="py-2 flex gap-2 items-center" @click="showApiSnippetDrawer = true"> |
|
|
|
v-if="!isSharedBase && !isPublicView" |
|
|
|
|
|
|
|
v-e="['c:snippet:open']" |
|
|
|
|
|
|
|
class="py-2 flex gap-2 items-center" |
|
|
|
|
|
|
|
@click="showApiSnippetDrawer = true" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<MdiXml class="text-gray-500" /> |
|
|
|
<MdiXml class="text-gray-500" /> |
|
|
|
<!-- Get API Snippet --> |
|
|
|
<!-- Get API Snippet --> |
|
|
|
{{ $t('activity.getApiSnippet') }} |
|
|
|
{{ $t('activity.getApiSnippet') }} |
|
|
|