From 16cd8b3a89378c43857c87920dd7901c95f5e0a8 Mon Sep 17 00:00:00 2001 From: Ludek <13610612+ludeknovy@users.noreply.github.com> Date: Sat, 20 Feb 2021 21:00:24 +0100 Subject: [PATCH] breadcrumb project name (#96) --- src/app/breadcrumb/breadcrumb.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/breadcrumb/breadcrumb.component.ts b/src/app/breadcrumb/breadcrumb.component.ts index 570d8524..3934adba 100644 --- a/src/app/breadcrumb/breadcrumb.component.ts +++ b/src/app/breadcrumb/breadcrumb.component.ts @@ -20,7 +20,7 @@ export class BreadcrumbComponent implements OnInit { const _length = Object.keys(_).length; if (projectName) { const projectUrlTemplate = `/project/${projectName}/scenarios`; - this.urls.push({ label: 'scenarios', url: projectUrlTemplate, last: _length === 1}); + this.urls.push({ label: projectName, url: projectUrlTemplate, last: _length === 1}); } if (scenarioName) { const projectUrlTemplate = `/project/${projectName}/scenario/${scenarioName}/items`;