Browse Source

fix: lint

pull/6600/head
sreehari jayaraj 1 year ago
parent
commit
327e9f06b3
  1. 3
      packages/nc-gui/components/smartsheet/expanded-form/index.vue
  2. 3
      packages/nc-gui/components/workspace/View.vue

3
packages/nc-gui/components/smartsheet/expanded-form/index.vue

@ -69,7 +69,7 @@ const meta = toRef(props, 'meta')
const islastRow = toRef(props, 'lastRow') const islastRow = toRef(props, 'lastRow')
const isFirstRow = toRef(props,'firstRow') const isFirstRow = toRef(props, 'firstRow')
const route = useRoute() const route = useRoute()
@ -556,6 +556,7 @@ export default {
:col-id="col.id" :col-id="col.id"
:data-testid="`nc-expand-col-${col.title}`" :data-testid="`nc-expand-col-${col.title}`"
> >
<pre>{{ col }}</pre>
<div class="flex items-start flex-row xs:(flex-col w-full) nc-expanded-cell min-h-10"> <div class="flex items-start flex-row xs:(flex-col w-full) nc-expanded-cell min-h-10">
<div class="w-[12rem] xs:(w-full) mt-1.5 !h-[35px]"> <div class="w-[12rem] xs:(w-full) mt-1.5 !h-[35px]">
<LazySmartsheetHeaderVirtualCell <LazySmartsheetHeaderVirtualCell

3
packages/nc-gui/components/workspace/View.vue

@ -1,6 +1,5 @@
<script lang="ts" setup> <script lang="ts" setup>
import { useTitle } from '@vueuse/core' import { useTitle } from '@vueuse/core'
import type { WorkspaceType } from 'nocodb-sdk'
const router = useRouter() const router = useRouter()
const route = router.currentRoute const route = router.currentRoute
@ -21,8 +20,6 @@ const tab = computed({
}, },
}) })
const getWorkspaceColor = (workspace: WorkspaceType) => workspace.meta?.color || stringToColor(workspace.id!)
watch( watch(
() => activeWorkspace.value?.title, () => activeWorkspace.value?.title,
(title: string) => { (title: string) => {

Loading…
Cancel
Save