From 8927c540ee9e2ce7267586388a938507c9a9058d Mon Sep 17 00:00:00 2001 From: Ryan Breen Date: Fri, 20 Jan 2023 23:02:38 -0500 Subject: [PATCH] Clear confirmation buttons when changing active profiles. --- Shared (Extension)/Resources/popup.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shared (Extension)/Resources/popup.js b/Shared (Extension)/Resources/popup.js index ad580ef..89a23aa 100644 --- a/Shared (Extension)/Resources/popup.js +++ b/Shared (Extension)/Resources/popup.js @@ -19,6 +19,8 @@ Alpine.data('popup', () => ({ this.$watch('profileIndex', async () => { await this.setProfileIndex(); await this.refreshProfile(); + this.confirmClear = false; + this.confirmDelete = false; }); // Even though getProfileIndex will immediately trigger a profile refresh, we still