Skip to content

Commit 470afd2

Browse files
author
OpenShift Bot
authored
Merge pull request #1430 from spadgett/fix-overview-notifications
Merged by openshift-bot
2 parents 9143df0 + b0605c5 commit 470afd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/scripts/directives/overview/listRow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function OverviewListRow($filter,
9494

9595
row.$doCheck = function() {
9696
// Update notifications.
97-
row.notifications = rowMethods.getNotifications(row.apiObject, row);
97+
row.notifications = rowMethods.getNotifications(row.apiObject, row.state);
9898

9999
// Update HPA.
100100
row.hpa = getHPA(row.apiObject);

dist/scripts/scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ var b = _.get(a, "kind"), c = _.get(a, "metadata.name");
865865
return _.get(h.state.hpaByResource, [ b, c ], q);
866866
};
867867
h.$doCheck = function() {
868-
h.notifications = g.getNotifications(h.apiObject, h), h.hpa = r(h.apiObject), h.current && _.isEmpty(h.hpa) && (h.hpa = r(h.current));
868+
h.notifications = g.getNotifications(h.apiObject, h.state), h.hpa = r(h.apiObject), h.current && _.isEmpty(h.hpa) && (h.hpa = r(h.current));
869869
var a = _.get(h, "apiObject.metadata.uid");
870870
a && (h.services = _.get(h, [ "state", "servicesByObjectUID", a ]), h.buildConfigs = _.get(h, [ "state", "buildConfigsByObjectUID", a ]));
871871
var b, c = _.get(h, "apiObject.kind");

0 commit comments

Comments
 (0)