Browse Source

chore(gui): lint

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3801/head
Pranav C 2 years ago committed by braks
parent
commit
1a8417cb18
  1. 4
      packages/nc-gui/components/smartsheet/toolbar/SharedViewList.vue
  2. 1
      packages/nc-gui/components/tabs/Smartsheet.vue

4
packages/nc-gui/components/smartsheet/toolbar/SharedViewList.vue

@ -129,7 +129,9 @@ const deleteLink = async (id: string) => {
<template #default="{ record }"> <template #default="{ record }">
<div class="flex items-center items-center gap-1"> <div class="flex items-center items-center gap-1">
<template v-if="record.password"> <template v-if="record.password">
<span class="h-min max-w-[250px]">{{ record.showPassword ? record.password : Array(record.password.length + 1).join("*") }}</span> <span class="h-min max-w-[250px]">{{
record.showPassword ? record.password : Array(record.password.length + 1).join('*')
}}</span>
<component <component
:is="record.showPassword ? MdiVisibilityOffIcon : MdiVisibilityOnIcon" :is="record.showPassword ? MdiVisibilityOffIcon : MdiVisibilityOnIcon"
@click="record.showPassword = !record.showPassword" @click="record.showPassword = !record.showPassword"

1
packages/nc-gui/components/tabs/Smartsheet.vue

@ -18,7 +18,6 @@ import {
toRef, toRef,
useMetas, useMetas,
useProvideSmartsheetStore, useProvideSmartsheetStore,
useSidebar,
watch, watch,
} from '#imports' } from '#imports'
import type { TabItem } from '~/lib' import type { TabItem } from '~/lib'

Loading…
Cancel
Save