Browse Source

chore(nc-gui): lint

pull/8188/head
Ramesh Mane 3 months ago
parent
commit
8f4daa7c5c
  1. 2
      packages/nc-gui/components/smartsheet/toolbar/FieldListWithSearch.vue
  2. 2
      packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue
  3. 5
      packages/nc-gui/components/smartsheet/toolbar/ViewActionMenu.vue

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

@ -165,8 +165,8 @@ watch(
<GeneralIcon
v-if="showSelectedOption && option.id === selectedOptionId"
icon="check"
id="nc-selected-item-icon"
icon="check"
class="flex-none text-primary w-4 h-4"
/>
</div>

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

@ -468,8 +468,8 @@ useMenuCloseOnEsc(open)
<NcSwitch
:checked="field.show"
:disabled="field.isViewEssentialField"
@change="$t('a:fields:show-hide')"
size="xsmall"
@change="$t('a:fields:show-hide')"
/>
</div>

5
packages/nc-gui/components/smartsheet/toolbar/ViewActionMenu.vue

@ -153,7 +153,10 @@ const onDelete = async () => {
>
<NcTooltip>
<template #title> {{ $t('labels.clickToCopyViewID') }} </template>
<div class="flex items-center justify-between p-2 mx-1.5 rounded-md cursor-pointer hover:bg-gray-100 group" @click="onViewIdCopy">
<div
class="flex items-center justify-between p-2 mx-1.5 rounded-md cursor-pointer hover:bg-gray-100 group"
@click="onViewIdCopy"
>
<div class="flex text-xs font-bold text-gray-500 ml-1">
{{
$t('labels.viewIdColon', {

Loading…
Cancel
Save