Browse Source

chore: lint

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5357/head
Pranav C 2 years ago
parent
commit
c55bdd0bfb
  1. 12
      packages/nc-gui/components/dashboard/TreeView.vue
  2. 6
      packages/nc-gui/components/smartsheet/sidebar/RenameableMenuItem.vue

12
packages/nc-gui/components/dashboard/TreeView.vue

@ -642,7 +642,11 @@ const setIcon = async (icon: string, table: TableType) => {
</component>
</div>
<template v-if="isUIAllowed('tableIconCustomisation')" #overlay>
<GeneralEmojiIcons class="shadow bg-white p-2" :show-reset="!!table.meta?.icon" @select-icon="setIcon($event, table)" />
<GeneralEmojiIcons
class="shadow bg-white p-2"
:show-reset="!!table.meta?.icon"
@select-icon="setIcon($event, table)"
/>
</template>
</component>
</div>
@ -943,7 +947,11 @@ const setIcon = async (icon: string, table: TableType) => {
</component>
</div>
<template v-if="isUIAllowed('tableIconCustomisation')" #overlay>
<GeneralEmojiIcons class="shadow bg-white p-2" :show-reset="!!table.meta?.icon" @select-icon="setIcon($event, table)" />
<GeneralEmojiIcons
class="shadow bg-white p-2"
:show-reset="!!table.meta?.icon"
@select-icon="setIcon($event, table)"
/>
</template>
</component>
</div>

6
packages/nc-gui/components/smartsheet/sidebar/RenameableMenuItem.vue

@ -173,7 +173,11 @@ function onStopEdit() {
</component>
<template v-if="isUIAllowed('viewIconCustomisation')" #overlay>
<GeneralEmojiIcons class="shadow bg-white p-2" @select-icon="emits('selectIcon', $event)" :show-reset="!!view.meta?.icon" />
<GeneralEmojiIcons
class="shadow bg-white p-2"
:show-reset="!!view.meta?.icon"
@select-icon="emits('selectIcon', $event)"
/>
</template>
</a-dropdown>
</div>

Loading…
Cancel
Save