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

Hide projects dialog when opening proj with invalid encrypt key

This commit is contained in:
Nick O'Leary 2021-02-13 19:53:10 +00:00
parent e0f0a76ae4
commit 85e05b787f
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -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
},
}