FIX: do not try to add report to dashboard if disabled

This commit is contained in:
Joffrey JAFFEUX 2018-07-20 08:29:42 -04:00
parent 8b32408a3b
commit 0d24d95375
1 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,6 @@
{{#if siteSettings.staff_notes_enabled}}
{{admin-report
dataSourceName="staff_notes"
startDate=lastWeek
endDate=endDate}}
{{/if}}