about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/actions/reports.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/flavours/glitch/actions/reports.js')
-rw-r--r--app/javascript/flavours/glitch/actions/reports.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/actions/reports.js b/app/javascript/flavours/glitch/actions/reports.js
index 23348d7ad..333bc71f4 100644
--- a/app/javascript/flavours/glitch/actions/reports.js
+++ b/app/javascript/flavours/glitch/actions/reports.js
@@ -8,7 +8,7 @@ export const REPORT_SUBMIT_FAIL    = 'REPORT_SUBMIT_FAIL';
 export const initReport = (account, status) => dispatch =>
   dispatch(openModal('REPORT', {
     accountId: account.get('id'),
-    statusId: status.get('id'),
+    statusId: status?.get('id'),
   }));
 
 export const submitReport = (params, onSuccess, onFail) => (dispatch, getState) => {