reset modal state when userId is changed

This commit is contained in:
taehoon 2019-03-20 12:11:15 -04:00
parent 02d169b92c
commit 1878e56c16

View File

@ -36,6 +36,9 @@ const UserReportingModal = {
}, },
watch: { watch: {
userId (value) { userId (value) {
// Reset state
this.comment = ''
this.forward = false
this.statusIdsToReport = [] this.statusIdsToReport = []
} }
}, },