Expand review form if there are errors

This commit is contained in:
Patrick Smith
2018-09-27 18:34:52 -04:00
parent a859af9eea
commit 2d7d97a03c
2 changed files with 9 additions and 4 deletions

View File

@@ -9,10 +9,14 @@ export default {
LocalDatetime
},
props: {
initialState: String
},
data: function () {
return {
approving: false,
denying: false
approving: this.initialState === 'approving',
denying: this.initialState === 'denying'
}
},