diff --git a/ts/src/stats/GraphsPage.svelte b/ts/src/stats/GraphsPage.svelte index 32ce421ed..edadd241b 100644 --- a/ts/src/stats/GraphsPage.svelte +++ b/ts/src/stats/GraphsPage.svelte @@ -79,7 +79,12 @@ const searchKeyUp = (e: KeyboardEvent) => { // fetch data on enter if (e.keyCode == 13) { + const wasSame = search == displayedSearch; search = displayedSearch; + if (wasSame) { + // force a refresh (user may have changed current deck, etc) + refresh(); + } } };