Browse Source

Merge pull request #6603 from nocodb/fix/line

fix: removed reload menu:
pull/6606/head
Sreehari jayaraj 11 months ago committed by GitHub
parent
commit
c75960f4ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue
  2. 2
      packages/nc-gui/components/smartsheet/toolbar/GroupByMenu.vue

14
packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue

@ -307,12 +307,6 @@ function openErdView(source: SourceType) {
}
}
const reloadTables = async () => {
$e('a:table:refresh:navdraw')
// await loadTables()
}
const contextMenuBase = computed(() => {
if (contextMenuTarget.type === 'source') {
return contextMenuTarget.value
@ -787,14 +781,6 @@ const projectDelete = () => {
</div>
</NcMenuItem>
</template>
<template v-else>
<NcMenuItem @click="reloadTables">
<div class="nc-base-option-item">
{{ $t('general.reload') }}
</div>
</NcMenuItem>
</template>
</NcMenu>
</template>
</NcDropdown>

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

@ -275,7 +275,7 @@ onMounted(async () => {
type="text"
@click.stop="removeFieldFromGroupBy(i)"
>
<GeneralIcon icon="delete" class="" />
<component :is="iconMap.deleteListItem" />
</NcButton>
</a-tooltip>
</template>

Loading…
Cancel
Save