mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #2420 from keepassxreboot/fix/disable_passkeys_fallback_checkbox
Disable passkeys fallback checkbox when needed
This commit is contained in:
commit
af18d84fbc
1 changed files with 4 additions and 0 deletions
|
|
@ -74,6 +74,8 @@ options.initGeneralSettings = async function() {
|
|||
} else if (name === 'autoReconnect') {
|
||||
const message = updated.autoReconnect ? 'enable_automatic_reconnect' : 'disable_automatic_reconnect';
|
||||
browser.runtime.sendMessage({ action: message });
|
||||
} else if (name === 'passkeys') {
|
||||
$('#passkeysFallback').disabled = !isChecked;
|
||||
} else if (name === 'useMonochromeToolbarIcon') {
|
||||
browser.runtime.sendMessage({ action: 'update_popup' });
|
||||
}
|
||||
|
|
@ -230,6 +232,8 @@ options.initGeneralSettings = async function() {
|
|||
await options.saveSettings();
|
||||
});
|
||||
|
||||
$('#passkeysFallback').disabled = options.settings['passkeys'] === false;
|
||||
|
||||
let temporarySettings;
|
||||
const dialogImportSettingsModal = new bootstrap.Modal('#dialogImportSettings',
|
||||
{ keyboard: true, focus: false, backdrop: true });
|
||||
|
|
|
|||
Loading…
Reference in a new issue