From 2e94360a382f6b91a7adda950429fb9e2a83442b Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Wed, 28 Jan 2026 20:06:44 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Clarify=20file=20change=20handli?= =?UTF-8?q?ng=20and=20remove=20redundant=20file=20loading=20logic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pokedex.online/src/views/GamemasterExplorer.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/websites/pokedex.online/src/views/GamemasterExplorer.vue b/code/websites/pokedex.online/src/views/GamemasterExplorer.vue index edd7869..ccb7b7a 100644 --- a/code/websites/pokedex.online/src/views/GamemasterExplorer.vue +++ b/code/websites/pokedex.online/src/views/GamemasterExplorer.vue @@ -518,7 +518,7 @@ async function loadFile() { } function onFileChange() { - // Clear state + // Clear state when file selection changes searchQuery.value = ''; searchResults.value = []; currentResultIndex.value = 0; @@ -526,8 +526,8 @@ function onFileChange() { filterValue.value = ''; selectedLines.value.clear(); jsonPaths.value = []; - - loadFile(); + // File loading is handled by the watch() on selectedFile +} } const onSearchInput = debounce(async () => {