Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion app/scripts/filters/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down
2 changes: 1 addition & 1 deletion dist/scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -15628,7 +15628,7 @@ return e ? e.contains(":") ? e.split(":")[1] : e : "";
return function(e) {
if (!e) return "";
var t, n = e.split("@")[0], r = n.split("/");
return 3 === r.length ? (t = r[2].split(":"), r[1] + "/" + t[0]) : 2 === r.length ? n : 1 === r.length ? (t = n.split(":"))[0] : void 0;
return r.length > 3 ? n : 3 === r.length ? (t = r[2].split(":"), r[1] + "/" + t[0]) : 2 === r.length ? n : 1 === r.length ? (t = n.split(":"))[0] : void 0;
};
}).filter("stripTag", function() {
return function(e) {
Expand Down
30 changes: 26 additions & 4 deletions dist/scripts/vendor.js
Original file line number Diff line number Diff line change
Expand Up @@ -76042,10 +76042,9 @@ return isNaN(Number(e)) ? e : Number(e);
}
function i(e) {
if ("string" != typeof e) throw new TypeError("Invalid argument expected string");
if (!r.test(e)) throw new Error("Invalid argument not valid semver ('" + e + "' received)");
if (!a.test(e)) throw new Error("Invalid argument not valid semver ('" + e + "' received)");
}
var r = /^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;
return function(e, r) {
function r(e, r) {
[ e, r ].forEach(i);
for (var o = t(e), a = t(r), s = 0; s < Math.max(o.length - 1, a.length - 1); s++) {
var l = parseInt(o[s] || 0, 10), c = parseInt(a[s] || 0, 10);
Expand All @@ -76063,7 +76062,30 @@ if (f[s] > h[s]) return -1;
}
} else if (u || d) return u ? -1 : 1;
return 0;
};
}
function o(e) {
if ("string" != typeof e) throw new TypeError("Invalid operator type, expected string but got " + typeof e);
if (-1 === s.indexOf(e)) throw new TypeError("Invalid operator, expected one of " + s.join("|"));
}
var a = /^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, s = [ ">", ">=", "=", "<", "<=" ];
return r.compare = function(e, t, n) {
switch (o(n), n) {
case ">":
return r(e, t) > 0;

case ">=":
return r(e, t) >= 0;

case "<":
return r(e, t) < 0;

case "<=":
return r(e, t) <= 0;

default:
return 0 === r(e, t);
}
}, r;
}), function() {
"use strict";
if (Logger.setLevel(Logger.INFO), window.LogBuffer = 100, "localStorage" in window) {
Expand Down