mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -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) {
|
export function getThemeInfo(id) {
|
||||||
const name = PreloadStore.get("activatedThemes")[id] || `(theme-id: ${id})`;
|
const name = PreloadStore.get("activatedThemes")?.[id] || `(theme-id: ${id})`;
|
||||||
return {
|
return {
|
||||||
id,
|
id,
|
||||||
name,
|
name,
|
||||||
|
Loading…
Reference in New Issue
Block a user