Browse Source

Merge pull request #9326 from nocodb/nc-fix/user-management-allow-leave-from-ws

Nc fix/user management allow leave from ws
pull/9162/merge
Pranav C 3 months ago committed by GitHub
parent
commit
ad4042ef6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/nc-gui/components/workspace/CollaboratorsList.vue
  2. 2
      packages/nc-gui/layouts/shared-view.vue
  3. 1
      packages/nc-gui/store/config.ts

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

@ -275,7 +275,7 @@ const isDeleteOrUpdateAllowed = (user) => {
</div>
<div v-if="column.key === 'action'">
<NcDropdown v-if="isOwnerOrCreator">
<NcDropdown v-if="isOwnerOrCreator || record.id === user.id">
<NcButton size="small" type="secondary">
<component :is="iconMap.threeDotVertical" />
</NcButton>

2
packages/nc-gui/layouts/shared-view.vue

@ -1,5 +1,5 @@
<script lang="ts" setup>
const { isLoading, appInfo } = useGlobal()
const { isLoading } = useGlobal()
const { isMobileMode } = storeToRefs(useConfigStore())

1
packages/nc-gui/store/config.ts

@ -1,4 +1,3 @@
import { ViewTypes } from 'nocodb-sdk'
import { acceptHMRUpdate, defineStore } from 'pinia'
import { MAX_WIDTH_FOR_MOBILE_MODE } from '~/lib/constants'

Loading…
Cancel
Save