fix(tabs): reload missing table data

This commit is contained in:
t8y2 committed 2026-06-01 17:18:51 +08:00
1 parent e515933ab3
commit 84a7ff6b92
6 files changed
+66 -1

No files matched your search

@@ -14,6 +14,7 @@ import {
TableProperties,
ChevronDown,
ChevronUp,
RefreshCcw,
} from "lucide-vue-next";
import { Splitpanes, Pane } from "splitpanes";
import "splitpanes/dist/splitpanes.css";
@@ -709,6 +710,14 @@ defineExpose({ focusSearch, refreshData, handleModRTarget });
{{ t("toolbar.stopQuery") }}
</Button>
</div>
<div v-else class="h-full flex flex-col items-center justify-center gap-3 text-muted-foreground text-sm">
<Inbox class="h-8 w-8 opacity-60" />
<div>{{ t("grid.dataUnavailable") }}</div>
<Button variant="outline" size="sm" class="h-7 gap-1.5" @click="emit('reload')">
<RefreshCcw class="h-3.5 w-3.5" />
{{ t("grid.refresh") }}
</Button>
</div>
</div>
</template>