Do not initialise ReportList vue component if it is not shown
Fixes: https://sentry.io/share/issue/f08a1ade31fe4ad993b62b461a21dfb5/
What does this MR do?
As recommended by @jofranz in !1154 (comment 239532385)
How confident are you it won't break things if deployed?
Very
Links to related issues
Checklist
-
added a test, or explain why one is not needed/possible... -
no unrelated changes -
asked someone for a code review -
joined #foodsharing-beta channel at https://slackin.yunity.org -
added an entry to CHANGELOG.md (description, merge request link, username(s)) -
Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings