DEV: Ensure source-identifier works during theme qunit (#16072)

This commit is contained in:
David Taylor 2022-03-01 11:14:23 +00:00 committed by GitHub
parent 9e7e34fc24
commit bf6173509c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ export default function identifySource(error) {
}
export function getThemeInfo(id) {
const name = PreloadStore.get("activatedThemes")[id] || `(theme-id: ${id})`;
const name = PreloadStore.get("activatedThemes")?.[id] || `(theme-id: ${id})`;
return {
id,
name,