diff --git a/packages/nc-gui/components/project/AccessSettings.vue b/packages/nc-gui/components/project/AccessSettings.vue index 1cc3c8899c..17d348bbf1 100644 --- a/packages/nc-gui/components/project/AccessSettings.vue +++ b/packages/nc-gui/components/project/AccessSettings.vue @@ -39,8 +39,12 @@ const isLoading = ref(false) const isSearching = ref(false) const accessibleRoles = ref<(typeof ProjectRoles)[keyof typeof ProjectRoles][]>([]) +const filteredCollaborators = computed(() => + collaborators.value.filter((collab) => collab.email.toLowerCase().includes(userSearchText.value.toLowerCase())), +) + const sortedCollaborators = computed(() => { - return handleGetSortedData(collaborators.value, sorts.value) + return handleGetSortedData(filteredCollaborators.value, sorts.value) }) const loadCollaborators = async () => { @@ -178,7 +182,7 @@ onMounted(async () => { -
{{ $t('title.dateJoined') }}
+
{{ $t('general.access') }}