diff options
| author | taehoon <th.dev91@gmail.com> | 2019-03-20 12:11:15 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-05-03 11:40:05 -0400 |
| commit | 1878e56c16cf2ed09faf653a69efeca73c38ea65 (patch) | |
| tree | c8b851686086f81d8d455c86141f6c76164d1e79 /src/components | |
| parent | 02d169b92c61015a5663b703a23e769848239b13 (diff) | |
reset modal state when userId is changed
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/user_reporting_modal/user_reporting_modal.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/user_reporting_modal/user_reporting_modal.js b/src/components/user_reporting_modal/user_reporting_modal.js index 87b6fde9..ed7e74f0 100644 --- a/src/components/user_reporting_modal/user_reporting_modal.js +++ b/src/components/user_reporting_modal/user_reporting_modal.js @@ -36,6 +36,9 @@ const UserReportingModal = { }, watch: { userId (value) { + // Reset state + this.comment = '' + this.forward = false this.statusIdsToReport = [] } }, |
