diff --git a/app/filters/filters.js b/app/filters/filters.js index 96042da1e..a30a71f87 100644 --- a/app/filters/filters.js +++ b/app/filters/filters.js @@ -66,7 +66,7 @@ angular.module('portainer.filters') labelStyle = 'primary'; } else if (includeString(status, ['running'])) { labelStyle = 'success'; - } + } return labelStyle; }; }) @@ -352,7 +352,6 @@ angular.module('portainer.filters') if (imageName.indexOf('sha256:') === 0) { return imageName.substring(7, 19); } - return imageName; + return _.split(imageName, '@sha256')[0]; }; -}) -; \ No newline at end of file +});