fix: add MongoDB data transfer entry
This commit is contained in:
1 parent
c2cc9f22cf
commit
3e686d71fe
1 file changed
+4
@@ -4071,6 +4071,10 @@ function treeItemMenuItems(): ContextMenuItem[] {
|
||||
} else {
|
||||
items.push({ label: t("contextMenu.clearDefaultDatabase"), action: clearNodeDefaultDatabase, icon: Database });
|
||||
}
|
||||
if (node.type === "mongo-db") {
|
||||
items.push({ label: "", separator: true });
|
||||
items.push({ label: t("transfer.dataTransfer"), action: openTransfer, icon: ArrowRightLeft });
|
||||
}
|
||||
if (node.type === "redis-db") {
|
||||
items.push({ label: "", separator: true });
|
||||
items.push({ label: t("redis.flushDb"), action: flushRedisDb, icon: Eraser, variant: "destructive" as const });
|
||||
|
||||
Reference in new issue
Block a user