mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: remember scoreboard filter when navigating
This commit is contained in:
2 files changed
+24
-2
No files matched your search
@@ -45,7 +45,7 @@ export default new AutoloadPage('customFont', (pageName) => {
|
||||
}
|
||||
dialog.open().then((action) => {
|
||||
console.log(action, saveKey, selection);
|
||||
if (action === 'ok') {
|
||||
if (action === 'ok' && selection) {
|
||||
localStorage.setItem(saveKey, selection);
|
||||
window.location.reload();
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user