Skip to content

Commit 2623975

Browse files
Fix problem where UI appears unresponsive while waiting for websocket update
1 parent 36bd0fb commit 2623975

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/scripts/services/resourceAlerts.js

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ angular.module("openshiftConsole")
101101
details: $filter('getErrorDetails')(e)
102102
};
103103
});
104+
return true;
104105
}
105106
}]
106107
};

dist/scripts/scripts.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4189,15 +4189,15 @@ links: [ {
41894189
href: "",
41904190
label: "Resume Rollouts",
41914191
onClick: function() {
4192-
n.setPaused(t, !1, {
4192+
return n.setPaused(t, !1, {
41934193
namespace: t.metadata.namespace
41944194
}).then(_.noop, function(n) {
41954195
a[t.metadata.uid + "-pause-error"] = {
41964196
type: "error",
41974197
message: "An error occurred resuming the " + s(t.kind) + ".",
41984198
details: e("getErrorDetails")(n)
41994199
};
4200-
});
4200+
}), !0;
42014201
}
42024202
} ]
42034203
}), a;

0 commit comments

Comments
 (0)