fix(mysql): show scheduled events in the sidebar
This commit is contained in:
1 parent
5011468a9a
commit
2b11af94ba
26 files changed
+137
-33
No files matched your search
@@ -593,6 +593,7 @@ const groupTypes: Set<TreeNodeType> = new Set([
|
||||
"group-indexes",
|
||||
"group-fkeys",
|
||||
"group-triggers",
|
||||
"group-events",
|
||||
"group-constraints",
|
||||
"group-table-partitions",
|
||||
"group-table-subpartitions",
|
||||
@@ -5252,7 +5253,7 @@ function buildObjectSidebarMenu(context: SidebarMenuFactoryContext): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (node.type === "sequence") {
|
||||
if (node.type === "sequence" || node.type === "event") {
|
||||
items.push({ label: t("contextMenu.viewSource"), action: () => openObjectSourceDialog(false), icon: Code2 });
|
||||
items.push({ label: t("contextMenu.copyName"), action: copyName, icon: Copy, shortcut: shortcutCopyName.value });
|
||||
items.push({ label: t("contextMenu.changeOpenMode"), action: () => emit("open-settings", "navigation"), icon: Settings2 });
|
||||
|
||||
Reference in new issue
Block a user