mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
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
Block a user