throttle sets as well + bigger window

This commit is contained in:
Henry Jameson 2025-03-25 19:57:19 +02:00
parent 10b334b033
commit 7cda66b513
2 changed files with 3 additions and 2 deletions

View file

@ -41,8 +41,9 @@ const FilteringTab = {
)
},
methods: {
...mapActions(useServerSideStorageStore, ['setPreference', 'unsetPreference']),
...mapActions(useServerSideStorageStore, ['unsetPreference']),
pushServerSideStorage: throttle(() => useServerSideStorageStore().pushServerSideStorage(), 500),
setPreference: throttle(x => useServerSideStorageStore().setPreference(x), 500),
getDatetimeLocal (timestamp) {
const date = new Date(timestamp)
const datetime = [

View file

@ -3,7 +3,7 @@
border: 1px solid var(--border);
border-radius: var(--roundness);
height: 20vh;
height: 33vh;
overflow-y: auto;
}