FIX: `isExistingIconId()` regressed in #17553 (#17570)

I missed a single `?` character 😔
This commit is contained in:
Jarek Radosz 2022-07-19 15:32:26 +02:00 committed by GitHub
parent a7525c6252
commit 326643d08a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ export function setIconList(iconList) {
}
export function isExistingIconId(id) {
return _iconList.includes(id);
return _iconList?.includes(id);
}
function warnIfMissing(id) {