mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Add check for variable
This commit is contained in:
parent
8c24bf5aa7
commit
f8620d5f90
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ kpxcIcons.addIconsFromForm = async function(form) {
|
|||
};
|
||||
|
||||
const addCCIcons = async function(c) {
|
||||
if (c.ccInputs.ccName/* && kpxc.settings.showCCIcons*/) {
|
||||
if (c.ccInputs && c.ccInputs.ccName/* && kpxc.settings.showCCIcons*/) {
|
||||
kpxcIcons.addIcon(c.ccInputs.ccName, kpxcIcons.iconTypes.CC);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue