Browse Source

fix(nc-gui): console errors

pull/7807/head
Ramesh Mane 9 months ago
parent
commit
0bff1c2ce2
  1. 25
      packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue

25
packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue

@ -423,18 +423,19 @@ const projectDelete = () => {
<div v-e="['c:base:iconColorChange']" class="flex items-center select-none w-6 h-full"> <div v-e="['c:base:iconColorChange']" class="flex items-center select-none w-6 h-full">
<a-spin v-if="base.isLoading" class="!ml-1.25 !flex !flex-row !items-center !my-0.5 w-8" :indicator="indicator" /> <a-spin v-if="base.isLoading" class="!ml-1.25 !flex !flex-row !items-center !my-0.5 w-8" :indicator="indicator" />
<GeneralBaseIconColorPicker <div v-else>
v-else <GeneralBaseIconColorPicker
:key="`${base.id}_${parseProp(base.meta).iconHue}`" :key="`${base.id}_${parseProp(base.meta).iconHue}`"
:hue="parseProp(base.meta).iconHue" :hue="parseProp(base.meta).iconHue"
size="small" size="small"
:readonly="base?.type && base?.type !== 'database'" :readonly="base?.type && base?.type !== 'database'"
@color-selected="setColor($event, base)" @color-selected="setColor($event, base)"
> >
<template #default> <template #default>
<GeneralProjectIcon :type="base?.type" /> <GeneralProjectIcon :type="base?.type" />
</template> </template>
</GeneralBaseIconColorPicker> </GeneralBaseIconColorPicker>
</div>
</div> </div>
</div> </div>

Loading…
Cancel
Save