From 670d22ac174396d91b990ed2a35c743e59328495 Mon Sep 17 00:00:00 2001 From: Jay George Date: Mon, 19 Oct 2026 18:50:44 +0100 Subject: [PATCH] Remove architectural lines when leaving a navigation page - The tree callbacks toggle the lines from methods, where toggleArchitecturalBackground's onUnmounted has no component to attach to, so leaving an empty nav left the lines on the next page --- resources/js/pages/navigation/Show.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/js/pages/navigation/Show.vue b/resources/js/pages/navigation/Show.vue index af88c32d199..74c2398648e 100644 --- a/resources/js/pages/navigation/Show.vue +++ b/resources/js/pages/navigation/Show.vue @@ -135,6 +135,10 @@ export default { this.addToCommandPalette(); }, + unmounted() { + toggleArchitecturalBackground(false); + }, + methods: { afterActionSuccessfullyCompleted() { if (!this.isDirty) this.$refs.tree?.refresh();