Clear confirmation buttons when changing active profiles.

This commit is contained in:
Ryan Breen
2023-01-20 23:02:38 -05:00
parent 9623d632e9
commit 8927c540ee

View File

@@ -19,6 +19,8 @@ Alpine.data('popup', () => ({
this.$watch('profileIndex', async () => { this.$watch('profileIndex', async () => {
await this.setProfileIndex(); await this.setProfileIndex();
await this.refreshProfile(); await this.refreshProfile();
this.confirmClear = false;
this.confirmDelete = false;
}); });
// Even though getProfileIndex will immediately trigger a profile refresh, we still // Even though getProfileIndex will immediately trigger a profile refresh, we still