Browse Source

fix: Typo

pull/6802/head
Muhammed Mustafa 1 year ago
parent
commit
d454264105
  1. 1
      packages/nc-gui/components/dashboard/TreeView/TableNode.vue
  2. 4
      packages/nc-gui/components/dashboard/TreeView/ViewsList.vue

1
packages/nc-gui/components/dashboard/TreeView/TableNode.vue

@ -181,7 +181,6 @@ const isTableOpened = computed(() => {
:class="{ '!rotate-180': isExpanded }" :class="{ '!rotate-180': isExpanded }"
/> />
</NcButton> </NcButton>
<!-- <div v-else class="sm:min-w-5.75 xs:min-w-7.5 h-2"></div> -->
<div class="flex w-auto" :data-testid="`tree-view-table-draggable-handle-${table.title}`"> <div class="flex w-auto" :data-testid="`tree-view-table-draggable-handle-${table.title}`">
<div <div
class="flex items-center nc-table-icon" class="flex items-center nc-table-icon"

4
packages/nc-gui/components/dashboard/TreeView/ViewsList.vue

@ -5,8 +5,8 @@ import type { SortableEvent } from 'sortablejs'
import Sortable from 'sortablejs' import Sortable from 'sortablejs'
import type { Menu as AntMenu } from 'ant-design-vue' import type { Menu as AntMenu } from 'ant-design-vue'
import { import {
isDefaultBase as _isDefaultBase,
extractSdkResponseErrorMsg, extractSdkResponseErrorMsg,
isDefaultBase,
message, message,
onMounted, onMounted,
parseProp, parseProp,
@ -86,7 +86,7 @@ const isDefaultSource = computed(() => {
const source = base.value?.sources?.find((b) => b.id === table.value.source_id) const source = base.value?.sources?.find((b) => b.id === table.value.source_id)
if (!source) return false if (!source) return false
return _isDefaultBase(source) return isDefaultBase(source)
}) })
/** validate view title */ /** validate view title */

Loading…
Cancel
Save