mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Fix filling from popup
This commit is contained in:
parent
a0bf794a3d
commit
73971efb7b
3 changed files with 11 additions and 4 deletions
|
|
@ -943,7 +943,13 @@ kpxc.fillFromPopup = async function(id, uuid) {
|
|||
}
|
||||
|
||||
await sendMessage('page_set_login_id', id);
|
||||
kpxc.fillInCredentials(kpxc.combinations[0], kpxc.credentials[id].login, uuid);
|
||||
const selectedCredentials = kpxc.credentials.find(c => c.uuid === uuid);
|
||||
if (!selectedCredentials) {
|
||||
console.log('Error: Uuid not found: ', uuid);
|
||||
return;
|
||||
}
|
||||
|
||||
kpxc.fillInCredentials(kpxc.combinations[0], selectedCredentials.login, uuid);
|
||||
kpxcUserAutocomplete.closeList();
|
||||
};
|
||||
|
||||
|
|
@ -1064,6 +1070,7 @@ kpxc.fillInCredentials = async function(combination, predefinedUsername, uuid, p
|
|||
// Find the correct credentials
|
||||
const selectedCredentials = kpxc.credentials.find(c => c.uuid === uuid);
|
||||
if (!selectedCredentials) {
|
||||
console.log('Error: Uuid not found: ', uuid);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "KeePassXC-Browser",
|
||||
"version": "1.7.7",
|
||||
"version_name": "1.7.7",
|
||||
"version": "1.7.8",
|
||||
"version_name": "1.7.8",
|
||||
"description": "__MSG_extensionDescription__",
|
||||
"author": "KeePassXC Team",
|
||||
"icons": {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "KeePassXC-Browser",
|
||||
"version": "1.7.7",
|
||||
"version": "1.7.8",
|
||||
"description": "KeePassXC-Browser",
|
||||
"main": "build.js",
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue