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
1 changed files with 4 additions and 0 deletions

View File

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