From d47d0ae2e6a062dc4483613bd6cb52e144232801 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 9 Apr 2019 02:07:46 +0100 Subject: [PATCH] Add router links if values are set --- src/components/AppBreadcrumb.vue | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/components/AppBreadcrumb.vue b/src/components/AppBreadcrumb.vue index f2ac09b..ec11260 100644 --- a/src/components/AppBreadcrumb.vue +++ b/src/components/AppBreadcrumb.vue @@ -3,26 +3,27 @@ @@ -48,16 +49,20 @@ export default { }, selectedEnvironment: function () { - if (!this.environment) { + if (!this.application) { return null } + if (!this.environment) { + return 'All' + } + return this.environment.name }, selectedOrganisation: function () { if (!this.application) { - return 'All' + return null } return 'Rebuilding Acquia'