diff options
| author | Shpuld Shpludson <shp@cock.li> | 2021-01-18 13:44:31 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2021-01-18 13:44:31 +0000 |
| commit | 320418d524a33c20d7d769c8d67a25be81f251ec (patch) | |
| tree | b15c3cb41b469e732db1060d9962ce80b10c9562 /src/components/user_reporting_modal | |
| parent | a39866308cd7c8cb0d30a04a5215d1fae8bf8d47 (diff) | |
| parent | 8f55cb151c546eae56c782c2ed4b292b04950e03 (diff) | |
Merge branch 'rc/2.2.3' into 'master'
rc 2.2.3 to MASTER
See merge request pleroma/pleroma-fe!1328
Diffstat (limited to 'src/components/user_reporting_modal')
| -rw-r--r-- | src/components/user_reporting_modal/user_reporting_modal.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/components/user_reporting_modal/user_reporting_modal.js b/src/components/user_reporting_modal/user_reporting_modal.js index 38cf117b..8d171b2d 100644 --- a/src/components/user_reporting_modal/user_reporting_modal.js +++ b/src/components/user_reporting_modal/user_reporting_modal.js @@ -38,17 +38,23 @@ const UserReportingModal = { }, statuses () { return this.$store.state.reports.statuses + }, + preTickedIds () { + return this.$store.state.reports.preTickedIds } }, watch: { - userId: 'resetState' + userId: 'resetState', + preTickedIds (newValue) { + this.statusIdsToReport = newValue + } }, methods: { resetState () { // Reset state this.comment = '' this.forward = false - this.statusIdsToReport = [] + this.statusIdsToReport = this.preTickedIds this.processing = false this.error = false }, |
