summaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/components
diff options
context:
space:
mode:
authorNatsuu <natsukawa247@outlook.com>2026-01-14 05:01:17 +0000
committerNatsuu <natsukawa247@outlook.com>2026-01-14 05:01:17 +0000
commita58130fdf4d3fef3c5150bb444ce551c1886a652 (patch)
treeb23a465ef696866bce6470480c9cc90d967b2bb7 /ui/src/components
parent9b6e52f772e70a8fb36d40a86e6375bf9e1875e1 (diff)
downloadDropOut-a58130fdf4d3fef3c5150bb444ce551c1886a652.tar.gz
DropOut-a58130fdf4d3fef3c5150bb444ce551c1886a652.zip
fix: search query character replacement to use replaceAll for better accuracy
Diffstat (limited to 'ui/src/components')
-rw-r--r--ui/src/components/VersionsView.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/VersionsView.svelte b/ui/src/components/VersionsView.svelte
index 81f2379..1eba447 100644
--- a/ui/src/components/VersionsView.svelte
+++ b/ui/src/components/VersionsView.svelte
@@ -5,7 +5,7 @@
let filteredVersions = $derived(
gameState.versions.filter((v) =>
- v.id.toLowerCase().includes(searchQuery.trim().toLowerCase().replace("。", "."))
+ v.id.toLowerCase().includes(searchQuery.trim().toLowerCase().replaceAll("。", "."))
)
);
</script>