Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1268484 - Use build.metadata.uid to track dismissed builds in UI
  • Loading branch information
spadgett committed Oct 5, 2015
1 parent 8ba2941 commit 9b707b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/app/scripts/directives/resources.js
Expand Up @@ -90,7 +90,7 @@ angular.module('openshiftConsole')
})
.directive('triggers', function() {
var hideBuildKey = function(build) {
return 'hide/build/' + build.metadata.namespace + '/' + build.metadata.name;
return 'hide/build/' + build.metadata.uid;
};
return {
restrict: 'E',
Expand Down
2 changes: 1 addition & 1 deletion pkg/assets/bindata.go
Expand Up @@ -17043,7 +17043,7 @@ templateUrl:"views/directives/_pod-content.html"
};
}).directive("triggers", function() {
var a = function(a) {
return "hide/build/" + a.metadata.namespace + "/" + a.metadata.name;
return "hide/build/" + a.metadata.uid;
};
return {
restrict:"E",
Expand Down

0 comments on commit 9b707b4

Please sign in to comment.