|
|
@ -147,7 +147,7 @@ async function changeLockType(type: LockType) { |
|
|
|
<template #overlay> |
|
|
|
<template #overlay> |
|
|
|
<a-menu class="ml-6 !text-sm !p-0 !rounded"> |
|
|
|
<a-menu class="ml-6 !text-sm !p-0 !rounded"> |
|
|
|
<a-menu-item-group> |
|
|
|
<a-menu-item-group> |
|
|
|
<a-sub-menu key="lock-type" v-if="isUIAllowed('view-type')" > |
|
|
|
<a-sub-menu v-if="isUIAllowed('view-type')" key="lock-type"> |
|
|
|
<template #title> |
|
|
|
<template #title> |
|
|
|
<div v-t="['c:navdraw:preview-as']" class="nc-project-menu-item group"> |
|
|
|
<div v-t="['c:navdraw:preview-as']" class="nc-project-menu-item group"> |
|
|
|
<MdiFileEyeOutline class="group-hover:text-pink-500" /> |
|
|
|
<MdiFileEyeOutline class="group-hover:text-pink-500" /> |
|
|
@ -200,8 +200,7 @@ async function changeLockType(type: LockType) { |
|
|
|
<MdiAccountIcon /> |
|
|
|
<MdiAccountIcon /> |
|
|
|
{{ $t('title.personalView') }} |
|
|
|
{{ $t('title.personalView') }} |
|
|
|
<div class="nc-subtitle"> |
|
|
|
<div class="nc-subtitle"> |
|
|
|
Only you can edit the view configuration. Other collaborators’ personal views are hidden by |
|
|
|
Only you can edit the view configuration. Other collaborators’ personal views are hidden by default. |
|
|
|
default. |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -268,13 +267,12 @@ async function changeLockType(type: LockType) { |
|
|
|
</a-menu-item> |
|
|
|
</a-menu-item> |
|
|
|
</a-sub-menu> |
|
|
|
</a-sub-menu> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-menu-item> |
|
|
|
<a-menu-item> |
|
|
|
<div |
|
|
|
<div |
|
|
|
v-if="isUIAllowed('SharedViewList') && !isView && !isPublicView" |
|
|
|
v-if="isUIAllowed('SharedViewList') && !isView && !isPublicView" |
|
|
|
v-t="['a:actions:shared-view-list']" |
|
|
|
v-t="['a:actions:shared-view-list']" |
|
|
|
@click="sharedViewListDlg = true" |
|
|
|
|
|
|
|
class="py-2 flex gap-2" |
|
|
|
class="py-2 flex gap-2" |
|
|
|
|
|
|
|
@click="sharedViewListDlg = true" |
|
|
|
> |
|
|
|
> |
|
|
|
<MdiViewListOutline class="text-gray-500" /> |
|
|
|
<MdiViewListOutline class="text-gray-500" /> |
|
|
|
<!-- Shared View List --> |
|
|
|
<!-- Shared View List --> |
|
|
@ -282,7 +280,6 @@ async function changeLockType(type: LockType) { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-menu-item> |
|
|
|
</a-menu-item> |
|
|
|
<a-menu-item> |
|
|
|
<a-menu-item> |
|
|
|
|
|
|
|
|
|
|
|
<div |
|
|
|
<div |
|
|
|
v-if="isUIAllowed('webhook') && !isView && !isPublicView" |
|
|
|
v-if="isUIAllowed('webhook') && !isView && !isPublicView" |
|
|
|
v-t="['c:actions:webhook']" |
|
|
|
v-t="['c:actions:webhook']" |
|
|
@ -293,7 +290,6 @@ async function changeLockType(type: LockType) { |
|
|
|
{{ $t('objects.webhooks') }} |
|
|
|
{{ $t('objects.webhooks') }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-menu-item> |
|
|
|
</a-menu-item> |
|
|
|
|
|
|
|
|
|
|
|
</a-menu-item-group> |
|
|
|
</a-menu-item-group> |
|
|
|
</a-menu> |
|
|
|
</a-menu> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|