Refresh vc sidebar on remote add/remove

This commit is contained in:
Nick O'Leary 2018-02-05 10:10:26 +00:00
parent 08bd6d963c
commit e6d32aab7b
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 2 additions and 0 deletions

View File

@ -1273,6 +1273,7 @@ RED.projects.settings = (function() {
activeProject.git.remotes[name] = remote; activeProject.git.remotes[name] = remote;
}); });
} }
RED.sidebar.versionControl.refresh();
}); });
}, },
400: { 400: {
@ -1388,6 +1389,7 @@ RED.projects.settings = (function() {
activeProject.git.remotes[name] = remote; activeProject.git.remotes[name] = remote;
}); });
updateForm(); updateForm();
RED.sidebar.versionControl.refresh();
done(); done();
}, },
400: { 400: {