mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Fix incorrect error message on keyboard fill (#2814)
This commit is contained in:
parent
1dc3dcd38c
commit
f522e819a5
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ const passwordFillIsAllowed = function(elem) {
|
|||
// Show a specific error notification if current database is not connected
|
||||
const showErrorNotification = async function(errorMessage, notificationType = 'error') {
|
||||
const connectedDatabase = await sendMessage('get_connected_database');
|
||||
if (!connectedDatabase?.identifier) {
|
||||
if (!connectedDatabase?.identifier && kpxc.databaseState === DatabaseState.UNLOCKED) {
|
||||
kpxcUI.createNotification('error', tr('errorCurrentDatabaseNotConnected'));
|
||||
} else if (!await isIframeAllowed()) {
|
||||
// Special error if we are blocking due to iframe
|
||||
|
|
|
|||
Loading…
Reference in a new issue