From 85e05b787faa34239acdb725902df449ac6d7577 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Sat, 13 Feb 2021 19:53:10 +0000 Subject: [PATCH] Hide projects dialog when opening proj with invalid encrypt key --- .../@node-red/editor-client/src/js/ui/projects/projects.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/projects/projects.js b/packages/node_modules/@node-red/editor-client/src/js/ui/projects/projects.js index 7a77217d5..232984246 100755 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/projects/projects.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/projects/projects.js @@ -1606,6 +1606,11 @@ RED.projects = (function() { done(null,data); }, 400: { + 'credentials_load_failed': function(data) { + dialog.dialog( "close" ); + RED.events.emit("project:change", {name:name}); + done(null,data); + }, '*': done }, }