Skip to content

Commit 2a81b7f

Browse files
Fix problem where UI appears unresponsive while waiting for websocket update
1 parent 5972dde commit 2a81b7f

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
@@ -123,6 +123,7 @@ angular.module("openshiftConsole")
123123
details: $filter('getErrorDetails')(e)
124124
};
125125
});
126+
return true;
126127
}
127128
}]
128129
};

dist/scripts/scripts.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4094,15 +4094,15 @@ links: [ {
40944094
href: "",
40954095
label: "Resume Rollouts",
40964096
onClick: function() {
4097-
n.setPaused(t, !1, {
4097+
return n.setPaused(t, !1, {
40984098
namespace: t.metadata.namespace
40994099
}).then(_.noop, function(n) {
41004100
a[t.metadata.uid + "-pause-error"] = {
41014101
type: "error",
41024102
message: "An error occurred resuming the " + i(t.kind) + ".",
41034103
details: e("getErrorDetails")(n)
41044104
};
4105-
});
4105+
}), !0;
41064106
}
41074107
} ]
41084108
}), a;

0 commit comments

Comments
 (0)