Browse Source

fix: Fixed acl with base option

pull/6444/head
Muhammed Mustafa 1 year ago
parent
commit
4460456628
  1. 11
      packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue

11
packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue

@ -440,11 +440,7 @@ const DlgProjectDuplicateOnOk = async (jobData: { id: string; project_id: string
</span>
<div :class="{ 'flex flex-grow h-full': !editMode }" @click="onProjectClick(project)"></div>
<NcDropdown
v-if="isUIAllowed('tableCreate', { roles: projectRole })"
v-model:visible="isOptionsOpen"
:trigger="['click']"
>
<NcDropdown v-model:visible="isOptionsOpen" :trigger="['click']">
<NcButton
class="nc-sidebar-node-btn"
:class="{ '!text-black !opacity-100': isOptionsOpen }"
@ -612,10 +608,7 @@ const DlgProjectDuplicateOnOk = async (jobData: { id: string; project_id: string
</div>
</a-tooltip>
</div>
<div
v-if="isUIAllowed('tableCreate', { roles: projectRole })"
class="flex flex-row items-center gap-x-0.25 w-12.25"
>
<div class="flex flex-row items-center gap-x-0.25 w-12.25">
<NcDropdown
:visible="isBasesOptionsOpen[base!.id!]"
:trigger="['click']"

Loading…
Cancel
Save