feat(sidebar): put close database connection first in context menu
This commit is contained in:
1 parent
e97c9ab5d7
commit
e9c35fe619
1 file changed
+2
-2
@@ -4665,8 +4665,8 @@ function buildDatabaseSidebarMenu(context: SidebarMenuFactoryContext): boolean {
|
||||
return true;
|
||||
}
|
||||
if (canCloseDatabaseConnection.value) {
|
||||
items.push({ label: t("contextMenu.closeDatabaseConnection"), action: closeDatabaseConnection, icon: Unplug });
|
||||
items.push({ label: "", separator: true });
|
||||
items.unshift({ label: "", separator: true });
|
||||
items.unshift({ label: t("contextMenu.closeDatabaseConnection"), action: closeDatabaseConnection, icon: Unplug });
|
||||
}
|
||||
items.push(copyNameMenuItem());
|
||||
items.push({ label: "", separator: true });
|
||||
|
||||
Reference in new issue
Block a user