Browse Source

fix: shared view for user field

pull/7202/head
mertmit 12 months ago
parent
commit
7d1230f1cb
  1. 4
      packages/nc-gui/components/cell/User.vue

4
packages/nc-gui/components/cell/User.vue

@ -45,6 +45,8 @@ const isEditable = inject(EditModeInj, ref(false))
const activeCell = inject(ActiveCellInj, ref(false)) const activeCell = inject(ActiveCellInj, ref(false))
const isPublic = inject(IsPublicInj, ref(false))
const basesStore = useBases() const basesStore = useBases()
const { basesUser, activeProjectId } = storeToRefs(basesStore) const { basesUser, activeProjectId } = storeToRefs(basesStore)
@ -258,7 +260,7 @@ const filterOption = (input: string, option: any) => {
<template> <template>
<div class="nc-multi-select h-full w-full flex items-center" :class="{ 'read-only': readOnly }" @click="toggleMenu"> <div class="nc-multi-select h-full w-full flex items-center" :class="{ 'read-only': readOnly }" @click="toggleMenu">
<div <div
v-if="!active" v-if="!active || isPublic"
class="flex flex-wrap" class="flex flex-wrap"
:style="{ :style="{
'display': '-webkit-box', 'display': '-webkit-box',

Loading…
Cancel
Save