fix(mongodb): remove duplicate refresh button in document browser (#2696)

This commit is contained in:
LSD authored and GitHub committed 2026-07-06 18:28:42 +08:00
1 parent ce096ca21f
commit 095cb867a5
2 files changed
+20 -8

No files matched your search

@@ -2,7 +2,7 @@
import { computed, ref, onMounted, onBeforeUnmount } from "vue";
import { uuid } from "@/lib/common/utils";
import { useI18n } from "vue-i18n";
import { RefreshCw, RefreshCcw, Loader2, Trash2, Plus, Save, ChevronLeft, ChevronRight, Table2, Braces, X, Columns3, Check, Search, Wrench, Filter } from "@lucide/vue";
import { RefreshCw, Trash2, Plus, Save, ChevronLeft, ChevronRight, Table2, Braces, X, Columns3, Check, Search, Wrench, Filter } from "@lucide/vue";
import { Button } from "@/components/ui/button";
import { Badge } from "@/components/ui/badge";
import { Input } from "@/components/ui/input";
@@ -1124,13 +1124,6 @@ function resetTableSearchSplitWidth() {
</button>
</div>
</div>
<div class="flex shrink-0 items-center gap-1 border-l px-1">
<Button variant="ghost" size="sm" class="h-5 shrink-0 gap-1 px-1.5 text-xs" :disabled="loading" @click="load">
<Loader2 v-if="loading" class="h-3 w-3 animate-spin" />
<RefreshCcw v-else class="h-3 w-3" />
{{ t("grid.refresh") }}
</Button>
</div>
</template>
</DataGrid>