From 899106181c474c26e9fa1d3885285c578d392f3d Mon Sep 17 00:00:00 2001 From: indy koning Date: Fri, 14 Aug 2026 10:25:15 +0200 Subject: [PATCH 1/2] Clean up leftover product and category page config on navigation --- resources/js/turbolinks.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/js/turbolinks.js b/resources/js/turbolinks.js index 28e0b677c..2a348d85e 100644 --- a/resources/js/turbolinks.js +++ b/resources/js/turbolinks.js @@ -9,6 +9,12 @@ document.addEventListener('turbo:before-visit', function (e) { } }) +document.addEventListener('turbo:visit', () => { + // Clean up old config. + delete window.config.product + delete window.config.category +}) + document.addEventListener('vue:loaded', (e) => { // https://github.com/vuejs/core/issues/6154 // This ensures the `v-bind:muted.attr` attribute is set before vue mounts From 7ed13ae337d3b42549f9bd50f6dd788948f309c5 Mon Sep 17 00:00:00 2001 From: indykoning Date: Fri, 14 Aug 2026 08:41:02 +0000 Subject: [PATCH 2/2] [CI] Update Snapshots --- .../category-filter-1-Mobile-Chrome-linux.png | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/playwright/category.spec.js-snapshots/category-filter-1-Mobile-Chrome-linux.png b/tests/playwright/category.spec.js-snapshots/category-filter-1-Mobile-Chrome-linux.png index 28cf88c7a..ef1b52478 100644 --- a/tests/playwright/category.spec.js-snapshots/category-filter-1-Mobile-Chrome-linux.png +++ b/tests/playwright/category.spec.js-snapshots/category-filter-1-Mobile-Chrome-linux.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:81347227af88fbf64ac9865d4879b806e5a561bb1d3a745bc00eeb8c8aca9142 -size 277882 +oid sha256:776b8b885c7036af3c934cfcf65b6cb2c0a3b06bbf8102ee91b0c784c7b87ea0 +size 274385