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:
parent
f6f1436123
commit
9f7f50664c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user