Add refresh timestamp to context sidebar

This commit is contained in:
Nick O'Leary
2018-06-27 10:00:23 +01:00
parent 5d86f7b6ba
commit e01996095f
4 changed files with 13 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ function clean(flowConfig) {
var contextId;
var node;
for (var id in contexts) {
if (contexts.hasOwnProperty(id)) {
if (contexts.hasOwnProperty(id) && id !== "global") {
var idParts = id.split(":");
if (!flowConfig.allNodes.hasOwnProperty(idParts[0])) {
delete contexts[id];