fix: toggles

This commit is contained in:
2025-02-23 20:11:03 +00:00
parent 6236b8ef96
commit fcd3855c49
2 changed files with 2 additions and 3 deletions

View File

@ -96,7 +96,7 @@ export const usePkgStore = defineStore('pkg', {
return;
}
await invoke('toggle_package', { key: pkgKey(pkg), enable });
await this.reload(pkg);
await this.reloadProfile();
await this.saveProfile();
},
},