Merge pull request #1825 from lodavid/fix/auto-open-race

Fix extension behavior for Auto-Open
This commit is contained in:
Sami Vänttinen 2023-01-16 15:26:10 +02:00 committed by GitHub
commit 288aca7dae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,7 @@ kpxc.detectDatabaseChange = async function(response) {
kpxcIcons.switchIcons();
if (document.visibilityState !== 'hidden') {
if (response.hash.new !== '' && response.hash.new !== response.hash.old) {
if (response.hash.new !== '') {
_called.retrieveCredentials = false;
const settings = await sendMessage('load_settings');
kpxc.settings = settings;