Browse Source

fix(nc-gui): generalTableIcon meta props

pull/7424/head
Ramesh Mane 11 months ago
parent
commit
b8c188867b
  1. 2
      packages/nc-gui/components/general/TableIcon.vue
  2. 2
      packages/nc-gui/components/project/AllTables.vue

2
packages/nc-gui/components/general/TableIcon.vue

@ -9,7 +9,7 @@ const { meta: tableMeta } = defineProps<{
<template>
<LazyGeneralEmojiPicker
v-if="tableMeta.meta?.icon"
v-if="tableMeta?.meta?.icon"
:data-testid="`nc-emoji-${tableMeta.meta?.icon}`"
class="text-lg"
size="small"

2
packages/nc-gui/components/project/AllTables.vue

@ -143,7 +143,7 @@ const onCreateBaseClick = () => {
>
<div class="flex flex-row w-2/5 items-center gap-x-2" data-testid="proj-view-list__item-title">
<div class="min-w-5 flex items-center justify-center">
<GeneralTableIcon :meta="{ meta: table.meta }" class="text-gray-500" />
<GeneralTableIcon :meta="table" class="text-gray-500" />
</div>
{{ table?.title }}
</div>

Loading…
Cancel
Save