Browse Source

fix(nc-gui): removed added-by option

pull/6496/head
reenphygeorge 1 year ago committed by sreehari jayaraj
parent
commit
be3c9a3d3b
  1. 5
      packages/nc-gui/components/project/AccessSettings.vue
  2. 8
      packages/nc-gui/components/workspace/CollaboratorsList.vue

5
packages/nc-gui/components/project/AccessSettings.vue

@ -223,8 +223,9 @@ onMounted(async () => {
</template>
</div>
</div>
<div class="w-2/5"></div>
<div class="w-1/5 pl-5">
<!-- TODO: add option to view added-by when API is ready -->
<!-- <div class="w-2/5"></div> -->
<div class="w-2/5 pl-5">
<NcDropdown v-if="collab.roles !== ProjectRoles.OWNER" :trigger="['click']">
<MdiDotsVertical
class="border-1 !text-gray-600 h-5.5 w-5.5 rounded outline-0 p-0.5 nc-workspace-menu transform transition-transform !text-gray-400 cursor-pointer hover:(!text-gray-500 bg-gray-100)"

8
packages/nc-gui/components/workspace/CollaboratorsList.vue

@ -61,8 +61,8 @@ onMounted(async () => {
<div class="flex w-2/5 text-gray-600">Users</div>
<div class="flex w-2/5 text-gray-600">Date Joined</div>
<div class="flex w-2/5 text-gray-600">Access</div>
<div class="flex w-2/5 text-gray-600">Added By</div>
<div class="flex w-1/5 text-gray-600">Action</div>
<!-- <div class="flex w-2/5 text-gray-600">Added By</div> -->
<div class="flex w-2/5 text-gray-600">Action</div>
</div>
<div class="flex flex-col nc-scrollbar-md">
<div v-for="(collab, i) of filterCollaborators" :key="i"
@ -91,8 +91,8 @@ onMounted(async () => {
</template>
</div>
</div>
<div class="w-2/5"></div>
<div class="w-1/5 pl-5">
<!-- <div class="w-2/5"></div> -->
<div class="w-2/5 pl-5">
<NcDropdown v-if="collab.roles !== WorkspaceUserRoles.OWNER" :trigger="['click']">
<MdiDotsVertical
class="border-1 !text-gray-600 h-5.5 w-5.5 rounded outline-0 p-0.5 nc-workspace-menu transform transition-transform !text-gray-400 cursor-pointer hover:(!text-gray-500 bg-gray-100)" />

Loading…
Cancel
Save