Browse Source

fix: try to load userList only if allowed(based on role)

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/7194/head
Pranav C 1 year ago
parent
commit
7623a44586
  1. 2
      packages/nc-gui/components/project/View.vue

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

@ -35,7 +35,7 @@ const baseSettingsState = ref('')
const userCount = isEeUI ? workspaceUserCount : baseUserCount
const updateBaseUserCount = async () => {
if (!baseUserCount) return
if (!baseUserCount || !isUIAllowed('newUser')) return
try {
const { totalRows } = await getProjectUsers({

Loading…
Cancel
Save