Browse Source

fix: role change issue and role access

pull/6576/head
sreehari jayaraj 1 year ago
parent
commit
3ffdd7d47f
  1. 1
      packages/nc-gui/components/workspace/CollaboratorsList.vue
  2. 2
      packages/nc-gui/components/workspace/InviteSection.vue

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

@ -83,6 +83,7 @@ onMounted(async () => {
<RolesSelector
:role="collab.roles"
:roles="accessibleRoles"
:description="false"
:on-role-change="(role: WorkspaceUserRoles) => updateCollaborator(collab, role)"
/>
</template>

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

@ -44,7 +44,7 @@ const insertOrUpdateString = (str: string) => {
const emailInputValidation = (input: string): boolean => {
if (!input.length) {
emailValidation.isError = true
emailValidation.message = 'Email Should Not Be Empty'
emailValidation.message = 'Email should not be empty'
return false
}
if (!validateEmail(input.trim())) {

Loading…
Cancel
Save