Async config handling

This commit is contained in:
Lncvrt committed 2026-04-30 21:09:03 -07:00
1 parent 2c406ab531
commit a2382a5836
5 files changed
+16 -16

No files matched your search

+2 -2
View File
@@ -70,14 +70,14 @@ export default function DownloadsPopup () {
)
if (v.type != 1) {
if (v.type == 2) {
versions?.set('mods', {
await versions?.set('mods', {
...modsList,
[v.modGame! + '-' + v.modId!]: {
[v.modVersion!]: Date.now()
}
})
} else {
versions?.set('list', {
await versions?.set('list', {
...versionsList,
[v.version]: Date.now()
})