From 8e35ab4f15c603c72ab6e49d124f97be60f26841 Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Thu, 29 Jan 2026 04:00:27 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8D=20Refactor=20computed=20property?= =?UTF-8?q?=20for=20active=20search=20state=20to=20improve=20readability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pokedex.online/src/components/gamemaster/SearchBar.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/websites/pokedex.online/src/components/gamemaster/SearchBar.vue b/code/websites/pokedex.online/src/components/gamemaster/SearchBar.vue index 68e9792..7464577 100644 --- a/code/websites/pokedex.online/src/components/gamemaster/SearchBar.vue +++ b/code/websites/pokedex.online/src/components/gamemaster/SearchBar.vue @@ -91,7 +91,9 @@ const fileLines = toRef(props, 'fileLines'); const displayLines = toRef(props, 'displayLines'); const internalSearchState = useGamemasterSearch(fileLines, displayLines); -const activeSearchState = computed(() => props.searchState || internalSearchState); +const activeSearchState = computed( + () => props.searchState || internalSearchState +); const { searchQuery,