Fix lint issue

This commit is contained in:
Nick O'Leary 2023-02-02 14:36:04 +00:00
parent 6d717a21cf
commit df19e54555
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 1 additions and 2 deletions

View File

@ -299,7 +299,6 @@ RED.workspaces = (function() {
null,
{
label: RED._("common.label.delete"),
disabled: isCurrentLocked,
onselect: function() {
if (tab.type === 'tab') {
RED.workspaces.delete(tab)
@ -307,7 +306,7 @@ RED.workspaces = (function() {
RED.subflow.delete(tab.id)
}
},
disabled: (workspaceTabCount === 1)
disabled: isCurrentLocked || (workspaceTabCount === 1)
},
{
label: RED._("menu.label.export"),