fix(nc-gui): revert show base emoji if exist changes

This commit is contained in:
Ramesh Mane
2024-03-12 06:45:01 +00:00
parent 5c089aa873
commit 5baa8da556
5 changed files with 6 additions and 19 deletions

View File

@@ -386,14 +386,8 @@ defineExpose({
@click="fireAction(act)"
>
<div class="cmdk-action-content w-full">
<template v-if="title === 'Bases'">
<GeneralBaseIconColorPicker
:key="act.iconColor"
:model-value="act.iconColor"
:emoji="typeof act.icon === 'string' ? act.icon : ''"
type="database"
readonly
>
<template v-if="title === 'Bases' || act.icon === 'project'">
<GeneralBaseIconColorPicker :key="act.iconColor" :model-value="act.iconColor" type="database" readonly>
</GeneralBaseIconColorPicker>
</template>
<template v-else>