diff --git a/src/views/reports/components/Report.vue b/src/views/reports/components/Report.vue index b0cb6eb2..9a66c206 100644 --- a/src/views/reports/components/Report.vue +++ b/src/views/reports/components/Report.vue @@ -41,7 +41,7 @@ (deactivated) -
+
{{ $t('reports.content') }}: {{ report.content }} @@ -151,7 +151,7 @@ export default { return 'primary' } }, - getStatusesTitle(statuses) { + getStatusesTitle(statuses = []) { return `Reported statuses: ${statuses.length} item(s)` }, getNotesTitle(notes = []) { @@ -167,7 +167,7 @@ export default { parseTimestamp(timestamp) { return moment(timestamp).format('L HH:mm') }, - showStatuses(statuses) { + showStatuses(statuses = []) { return statuses.length > 0 } }