diff --git a/app/scripts/filters/resources.js b/app/scripts/filters/resources.js index d663a4c765..cac9078a55 100644 --- a/app/scripts/filters/resources.js +++ b/app/scripts/filters/resources.js @@ -96,7 +96,10 @@ angular.module('openshiftConsole') var slashSplit = imageWithoutID.split("/"); var semiColonSplit; - if (slashSplit.length === 3) { + if (slashSplit.length > 3) { + return imageWithoutID; + } + else if (slashSplit.length === 3) { semiColonSplit = slashSplit[2].split(":"); return slashSplit[1] + '/' + semiColonSplit[0]; }