disable delete tab menu when single tab exists

This commit is contained in:
Hiroyasu Nishiyama 2023-01-30 10:59:34 +09:00
parent a607ee90e0
commit 9b1b7437b3
1 changed files with 2 additions and 1 deletions

View File

@ -266,7 +266,8 @@ RED.workspaces = (function() {
} else if (tab.type === 'subflow') {
RED.subflow.delete(tab.id)
}
}
},
disabled: (workspaceTabCount === 1)
},
{
label: RED._("menu.label.export"),