From be5308c77616f18d34f1599e8b221b5e03eb04c6 Mon Sep 17 00:00:00 2001 From: Andrey Melnikov Date: Thu, 22 Jul 2021 11:53:56 -0700 Subject: [PATCH] fix: issue where workflow breadcrumbs did not navigate up correctly --- src/app/node-info/node-info.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/node-info/node-info.component.ts b/src/app/node-info/node-info.component.ts index d63a942a..b51e57b7 100644 --- a/src/app/node-info/node-info.component.ts +++ b/src/app/node-info/node-info.component.ts @@ -425,8 +425,6 @@ export class NodeInfoComponent implements OnInit, OnDestroy { const preParts = prePath.split('/').filter(value => value !== ''); const parts = path.split('/').filter(value => value !== ''); - let pathSum = ''; - const pathParts: PathPart[] = []; for (const part of preParts) { @@ -439,6 +437,7 @@ export class NodeInfoComponent implements OnInit, OnDestroy { pathParts[pathParts.length - 1].clickable = parts.length > 0; + let pathSum = prePath; for (const part of parts) { pathSum += '/' + part;