NIFI-13284: (#8891)

- Only saving canvas routes that are not edit or history.

This closes #8891
This commit is contained in:
Matt Gilman 2024-05-29 14:36:49 -04:00 committed by GitHub
parent dbc786095c
commit 0660616864
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -102,7 +102,9 @@ export class Canvas implements OnInit, OnDestroy {
.select(selectUrl)
.pipe(takeUntilDestroyed())
.subscribe((route) => {
this.storage.setItem('current-canvas-route', route);
if (!route.endsWith('/edit') && !route.endsWith('/history')) {
this.storage.setItem('current-canvas-route', route);
}
});
// load the process group from the route