Browse Source

Merge pull request #8649 from nocodb/nc-fix/members-count-stuck-on-changing-workspaces

fix: use basesUser to show number of members
pull/8661/head
Pranav C 5 months ago committed by GitHub
parent
commit
8d5c14548f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      packages/nc-gui/components/project/View.vue

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

@ -10,7 +10,7 @@ const basesStore = useBases()
const { openedProject, activeProjectId, basesUser, bases } = storeToRefs(basesStore)
const { activeTables, activeTable } = storeToRefs(useTablesStore())
const { activeWorkspace, workspaceUserCount } = storeToRefs(useWorkspace())
const { activeWorkspace } = storeToRefs(useWorkspace())
const { navigateToProjectPage } = useBase()
@ -43,9 +43,7 @@ const { isMobileMode } = useGlobal()
const baseSettingsState = ref('')
const userCount = computed(() =>
isEeUI ? workspaceUserCount : activeProjectId.value ? basesUser.value.get(activeProjectId.value)?.length : 0,
)
const userCount = computed(() => (activeProjectId.value ? basesUser.value.get(activeProjectId.value)?.length : 0))
watch(
() => route.value.query?.page,

Loading…
Cancel
Save