reset modal state when userId is changed
This commit is contained in:
parent
02d169b92c
commit
1878e56c16
@ -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 New Issue
Block a user