diff --git a/packages/nc-gui/components/project/AccessSettings.vue b/packages/nc-gui/components/project/AccessSettings.vue index 0a4de52e72..6af82062eb 100644 --- a/packages/nc-gui/components/project/AccessSettings.vue +++ b/packages/nc-gui/components/project/AccessSettings.vue @@ -66,7 +66,10 @@ const loadListData = async ($state: any) => { $state.loading() // const oldPagesCount = currentPage.value || 0 - await loadCollaborators() + onMounted(async () => { + await loadCollaborators() + console.log(collaborators) + }) if (prevUsersCount === collaborators.value?.length) { $state.complete() @@ -177,82 +180,80 @@ onMounted(async () => { > -
-
-
{{ $t('objects.users') }}
-
{{ $t('title.dateJoined') }}
-
{{ $t('general.access') }}
-
Added By
-
Action
+
+
+ + + + + + + + + + + + + + + +
{{ $t('objects.users') }}{{ $t('title.dateJoined') }}{{ $t('general.access') }}Actions
+ + + {{ collab.email }} + + + {{ timeAgo(collab.created_at) }} + + + + +
+ + + + +
+
-
-
- +
@@ -263,21 +264,21 @@ onMounted(async () => { } .nc-collaborators-list { - @apply border-2 shadow-sm border-gray-100 mt-1 flex flex-col w-full; + @apply border-1 shadow-sm border-gray-100 mt-1 flex flex-col w-full; // todo: replace/remove 120px with proper value while updating invite ui height: calc(100vh - calc(var(--topbar-height) + 9rem + 120px)); } .nc-collaborators-list-header { - @apply flex flex-row justify-between items-center min-h-10 border-b-2 shadow-sm border-gray-100 pl-4; + @apply flex flex-row justify-between items-center min-h-10 border-b-1 border-gray-100 pl-4; } .nc-collaborators-list-row { - @apply flex flex-row justify-between items-center min-h-16 border-b-2 shadow-sm border-gray-100 pl-4; + @apply flex flex-row justify-between items-center min-h-16 border-b-1 border-gray-100 pl-4; } .color-band { - @apply w-6 h-6 left-0 top-[10px] rounded-full flex justify-center uppercase text-white font-weight-bold text-xs items-center; + @apply w-6 h-6 left-0 top-2.5 rounded-full flex justify-center uppercase text-white font-weight-bold text-xs items-center; } :deep(.nc-collaborator-role-select .ant-select-selector) {