|
|
@ -132,7 +132,7 @@ useMenuCloseOnEsc(open) |
|
|
|
<template v-for="(dialog, type) in quickImportDialogs"> |
|
|
|
<template v-for="(dialog, type) in quickImportDialogs"> |
|
|
|
<a-menu-item v-if="isUIAllowed(`${type}TableImport`) && !isView && !isPublicView" :key="type"> |
|
|
|
<a-menu-item v-if="isUIAllowed(`${type}TableImport`) && !isView && !isPublicView" :key="type"> |
|
|
|
<div |
|
|
|
<div |
|
|
|
v-e="[`a:actions:upload-${type}`]" |
|
|
|
v-e="[`a:upload:${type}`]" |
|
|
|
class="nc-project-menu-item" |
|
|
|
class="nc-project-menu-item" |
|
|
|
:class="{ disabled: isLocked }" |
|
|
|
:class="{ disabled: isLocked }" |
|
|
|
@click="!isLocked ? (dialog.value = true) : {}" |
|
|
|
@click="!isLocked ? (dialog.value = true) : {}" |
|
|
@ -146,7 +146,7 @@ useMenuCloseOnEsc(open) |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<a-sub-menu key="download"> |
|
|
|
<a-sub-menu key="download"> |
|
|
|
<template #title> |
|
|
|
<template #title> |
|
|
|
<div v-e="['c:navdraw:preview-as']" class="nc-project-menu-item group"> |
|
|
|
<div v-e="['c:download']" class="nc-project-menu-item group"> |
|
|
|
<DownloadIcon class="w-4 h-4" /> |
|
|
|
<DownloadIcon class="w-4 h-4" /> |
|
|
|
{{ $t('general.download') }} |
|
|
|
{{ $t('general.download') }} |
|
|
|
<div class="flex-1" /> |
|
|
|
<div class="flex-1" /> |
|
|
|