Clear confirmation buttons when changing active profiles.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user