From 01ebe99a53a712c6d32c923fb7a81d556f502a45 Mon Sep 17 00:00:00 2001 From: Samuel Padgett Date: Mon, 18 Sep 2017 14:36:55 -0400 Subject: [PATCH] Fix case: "View All Projects" Fix project menu case of the last item, "View all Projects" -> "View All Projects" --- app/scripts/directives/nav.js | 4 ++-- dist/scripts/scripts.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scripts/directives/nav.js b/app/scripts/directives/nav.js index 45250ec948..53dfad1953 100644 --- a/app/scripts/directives/nav.js +++ b/app/scripts/directives/nav.js @@ -288,14 +288,14 @@ angular.module('openshiftConsole') return makeOption(project, false); }); } else { - // Show the current project and a "View all Projects" link. + // Show the current project and a "View All Projects" link. options = [ makeOption(projects[name], true) ]; } select.empty(); select.append(options); select.append($('')); - select.append($('')); + select.append($('')); select.selectpicker('refresh'); }; diff --git a/dist/scripts/scripts.js b/dist/scripts/scripts.js index 87a0136ce3..6342e37705 100644 --- a/dist/scripts/scripts.js +++ b/dist/scripts/scripts.js @@ -10147,7 +10147,7 @@ return n ? a.text(d(e)) : a.text(m(e, u)), a; }; _.size(l) <= 100 ? (u = e("orderByDisplayName")(l), y = _.map(u, function(e) { return n(e, !1); -})) : y = [ n(l[t], !0) ], v.empty(), v.append(y), v.append($('')), v.append($('')), v.selectpicker("refresh"); +})) : y = [ n(l[t], !0) ], v.empty(), v.append(y), v.append($('')), v.append($('')), v.selectpicker("refresh"); } }, C = function() { return s.list().then(function(e) {