diff --git a/frontend/src/features/crawl-workflows/workflow-editor.ts b/frontend/src/features/crawl-workflows/workflow-editor.ts index c177888ff1..25468e40f3 100644 --- a/frontend/src/features/crawl-workflows/workflow-editor.ts +++ b/frontend/src/features/crawl-workflows/workflow-editor.ts @@ -462,6 +462,7 @@ export class WorkflowEditor extends BtrixElement { disconnectedCallback(): void { this.onPanelIntersect.cancel(); + AppStateService.updateUserGuideOpen(false); super.disconnectedCallback(); } diff --git a/frontend/src/index.ts b/frontend/src/index.ts index 4fc3c44cac..c1cb2bddca 100644 --- a/frontend/src/index.ts +++ b/frontend/src/index.ts @@ -375,20 +375,6 @@ export class App extends BtrixElement { ?open=${this.appState.userGuideOpen} contained @sl-hide=${() => AppStateService.updateUserGuideOpen(false)} - @sl-after-hide=${() => { - // FIXME There might be a way to handle this in Mkdocs, but updating - // only the hash doesn't seem to update the docs view - const iframe = this.userGuideDrawer.querySelector("iframe"); - - if (!iframe) return; - - const src = iframe.src; - const hashIdx = src.indexOf("#"); - - if (hashIdx > -1) { - iframe.src = src.slice(0, src.indexOf("#")); - } - }} >