1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

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"),