Skip to content

Commit

Permalink
breadcrumb project name (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeknovy authored Feb 20, 2021
1 parent 1cc302d commit 16cd8b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/breadcrumb/breadcrumb.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
Expand Down

0 comments on commit 16cd8b3

Please sign in to comment.