diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index b61cc5f9e..a02accadf 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -2551,6 +2551,10 @@ define([ } else if (err.type === 'EDELETED') { if (priv.burnAfterReading) { return void cb(); } + if (autoStoreModal[priv.channel]) { + autoStoreModal[priv.channel].delete(); + delete autoStoreModal[priv.channel]; + } // View users have the wrong seed, thay can't retireve access directly // Version 1 hashes don't support passwords if (!priv.readOnly && !priv.oldVersionHash) {