From 8b6ba2787ea922b4cdd9310db5eff6e73fa21fbd Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Wed, 28 Jan 2026 21:11:15 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Fix=20Web=20Worker=20compatibili?= =?UTF-8?q?ty=20by=20converting=20reactive=20array=20to=20plain=20array=20?= =?UTF-8?q?before=20posting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../websites/pokedex.online/src/views/GamemasterExplorer.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/websites/pokedex.online/src/views/GamemasterExplorer.vue b/code/websites/pokedex.online/src/views/GamemasterExplorer.vue index 9c75bd4..8ebef96 100644 --- a/code/websites/pokedex.online/src/views/GamemasterExplorer.vue +++ b/code/websites/pokedex.online/src/views/GamemasterExplorer.vue @@ -696,8 +696,11 @@ const onSearchInput = debounce(async () => { requestId }); + // Convert reactive array to plain array (Web Workers can't clone Vue proxies) + const plainLines = Array.from(fileLines.value); + searchWorker.postMessage({ - lines: fileLines.value, + lines: plainLines, searchTerm: searchTerm, id: requestId });