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

Remote project from cached list on delete so it can be reused

This commit is contained in:
Nick O'Leary 2018-02-15 22:46:36 +00:00
parent f6f1436123
commit 9f7f50664c
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -813,7 +813,11 @@ RED.projects = (function() {
validateForm(); validateForm();
}, },
delete: function(project) { delete: function(project) {
if (projectList) {
delete projectList[project.name];
}
selectedProject = null; selectedProject = null;
validateForm(); validateForm();
} }
}).appendTo(row); }).appendTo(row);