|
|
@ -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> |
|
|
|
|
|
|
|
|
|
|
|