FIX: do not try to add report to dashboard if disabled
This commit is contained in:
parent
8b32408a3b
commit
0d24d95375
|
@ -1,4 +1,6 @@
|
||||||
{{admin-report
|
{{#if siteSettings.staff_notes_enabled}}
|
||||||
dataSourceName="staff_notes"
|
{{admin-report
|
||||||
startDate=lastWeek
|
dataSourceName="staff_notes"
|
||||||
endDate=endDate}}
|
startDate=lastWeek
|
||||||
|
endDate=endDate}}
|
||||||
|
{{/if}}
|
||||||
|
|
Loading…
Reference in New Issue