We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f9aa86 commit fab3f24Copy full SHA for fab3f24
1 file changed
src/plugins/visualize/public/plugin.ts
@@ -116,7 +116,10 @@ export class VisualizePlugin
116
],
117
getHistory: () => this.currentHistory!,
118
onBeforeNavLinkSaved: (urlToSave: string) => {
119
- if (this.isLinkedToOriginatingApp?.()) {
+ if (
120
+ !urlToSave.includes(`${VisualizeConstants.EDIT_PATH}/`) &&
121
+ this.isLinkedToOriginatingApp?.()
122
+ ) {
123
return core.http.basePath.prepend('/app/visualize');
124
}
125
return urlToSave;
0 commit comments