Browse Source

fix: input watchers

pull/6441/head
sreehari jayaraj 1 year ago
parent
commit
3a529ea5c4
  1. 2
      packages/nc-gui/components/project/AccessSettings.vue
  2. 2
      packages/nc-gui/components/workspace/CollaboratorsList.vue
  3. 7
      packages/nc-gui/components/workspace/InviteSection.vue

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

@ -176,7 +176,7 @@ onMounted(async () => {
v-else-if="!collaborators?.length"
class="nc-collaborators-list w-full h-full flex flex-col items-center justify-center mt-36"
>
<Empty description="No Members found" />
<Empty description="No members found" />
</div>
<div v-else class="nc-collaborators-list nc-scrollbar-md">
<div class="nc-collaborators-list-header">

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

@ -55,7 +55,7 @@ onMounted(async () => {
</a-input>
</div>
<div v-if="!filterCollaborators?.length" class="w-full h-full flex flex-col items-center justify-center mt-36">
<Empty description="No Members found" />
<Empty description="No members found" />
</div>
<table v-else class="nc-collaborators-list-table !nc-scrollbar-md">
<thead>

7
packages/nc-gui/components/workspace/InviteSection.vue

@ -23,6 +23,13 @@ const inviteCollaborator = async () => {
}
}
watch(inviteData, (newVal) => {
console.log(newVal.email)
if (newVal.email[-1] === ',') {
console.log(newVal.email)
}
})
// allow only lower roles to be assigned
const allowedRoles = ref<WorkspaceUserRoles[]>([])

Loading…
Cancel
Save