fixed up temporary changes

This commit is contained in:
Henry Jameson 2026-01-23 00:46:44 +02:00
commit 1b310d7174
7 changed files with 13 additions and 9 deletions

View file

@ -64,7 +64,7 @@ export const useInterfaceStore = defineStore('interface', {
this.temporaryChangesConfirm = confirm
this.temporaryChangesRevert = revert
const countdownFunc = () => {
if (this.temporaryChangesCountdown === 1) {
if (this.temporaryChangesCountdown <= 1) {
this.temporaryChangesRevert()
this.clearTemporaryChanges()
} else {