Skip to content

Commit 67593d9

Browse files
committed
FIX: Error with undefined icon setting
1 parent cf2593e commit 67593d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascripts/discourse/components/custom-icon.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default class CustomIcon extends Component {
1414
}
1515

1616
get source() {
17-
return this.icon.trim();
17+
return this.icon?.trim();
1818
}
1919

2020
<template>

0 commit comments

Comments
 (0)