Fix ElMessageBox callback

This commit is contained in:
Natsumi
2025-09-12 11:43:10 +12:00
parent 2bd916d408
commit 81bc54b1b8
5 changed files with 146 additions and 162 deletions

View File

@@ -1410,11 +1410,10 @@ export const useGameLogStore = defineStore('GameLog', () => {
ElMessageBox.confirm('Continue? Disable GameLog', 'Confirm', {
confirmButtonText: 'Confirm',
cancelButtonText: 'Cancel',
type: 'info',
callback: async (action) => {
if (action === 'confirm') {
advancedSettingsStore.setGameLogDisabled();
}
type: 'info'
}).then(({ action }) => {
if (action === 'confirm') {
advancedSettingsStore.setGameLogDisabled();
}
});
} else {