FIX: ensures we have a proper component name (#8876)
This commit is contained in:
parent
c5e3faac00
commit
f25e787ae2
|
@ -124,7 +124,7 @@ export default Component.extend({
|
|||
|
||||
@discourseComputed("currentMode")
|
||||
modeComponent(currentMode) {
|
||||
return `admin-report-${currentMode}`;
|
||||
return `admin-report-${currentMode.replace(/_/g, "-")}`;
|
||||
},
|
||||
|
||||
@discourseComputed("startDate")
|
||||
|
|
Loading…
Reference in New Issue