reset modal state when userId is changed
This commit is contained in:
parent
02d169b92c
commit
1878e56c16
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ const UserReportingModal = {
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
userId (value) {
|
userId (value) {
|
||||||
|
// Reset state
|
||||||
|
this.comment = ''
|
||||||
|
this.forward = false
|
||||||
this.statusIdsToReport = []
|
this.statusIdsToReport = []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue