Skip to content

Commit fab3f24

Browse files
committed
Allow url into tracker when it is /edit/
1 parent 8f9aa86 commit fab3f24

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/plugins/visualize/public/plugin.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ export class VisualizePlugin
116116
],
117117
getHistory: () => this.currentHistory!,
118118
onBeforeNavLinkSaved: (urlToSave: string) => {
119-
if (this.isLinkedToOriginatingApp?.()) {
119+
if (
120+
!urlToSave.includes(`${VisualizeConstants.EDIT_PATH}/`) &&
121+
this.isLinkedToOriginatingApp?.()
122+
) {
120123
return core.http.basePath.prepend('/app/visualize');
121124
}
122125
return urlToSave;

0 commit comments

Comments
 (0)