Clear moved flag when nodes are deployed

This commit is contained in:
Nick O'Leary 2017-06-30 21:48:38 +01:00
parent 9a6cf58565
commit f3840512ba
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 4 additions and 0 deletions

View File

@ -385,6 +385,10 @@ RED.deploy = (function() {
node.dirty = true;
node.changed = false;
}
if (node.moved) {
node.dirty = true;
node.moved = false;
}
if(node.credentials) {
delete node.credentials;
}