mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
DEV: Ensure source-identifier works during theme qunit (#16072)
This commit is contained in:
parent
9e7e34fc24
commit
bf6173509c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user