Browse Source

fix(nc-gui): Type '"sm"

pull/7855/head
Ramesh Mane 8 months ago
parent
commit
cb7a7ec84f
  1. 2
      packages/nc-gui/components/roles/Badge.vue
  2. 2
      packages/nc-gui/components/smartsheet/toolbar/RowHeight.vue

2
packages/nc-gui/components/roles/Badge.vue

@ -8,7 +8,7 @@ const props = withDefaults(
clickable?: boolean
inherit?: boolean
border?: boolean
size?: 'sm' | 'md'
size?: 'sm' | 'md' | 'lg'
}>(),
{
clickable: false,

2
packages/nc-gui/components/smartsheet/toolbar/RowHeight.vue

@ -99,7 +99,7 @@ useMenuCloseOnEsc(open)
>
<div class="flex flex-col w-full text-sm" @click.stop>
<div class="text-xs text-gray-500 px-3 pt-2 pb-1 select-none">{{ $t('objects.rowHeight') }}</div>
<div v-for="(item, i) of rowHeightOptions" class="nc-row-height-option" @click="updateRowHeight(i)">
<div v-for="(item, i) of rowHeightOptions" :key="i" class="nc-row-height-option" @click="updateRowHeight(i)">
<div class="flex items-center gap-2">
<GeneralIcon :icon="item.icon" class="nc-row-height-icon" />
{{ $t(`objects.heightClass.${item.heightClass}`) }}

Loading…
Cancel
Save