wire up props with PostStatusModal

This commit is contained in:
taehoon 2019-09-19 14:38:55 -04:00
parent d6a941a128
commit c8a18f387c
3 changed files with 3 additions and 2 deletions

View file

@ -12,7 +12,7 @@ const PostStatusModal = {
return this.isLoggedIn && this.$store.state.postStatus.modalActivated
},
params () {
return this.$store.state.postStatus.params
return this.$store.state.postStatus.params || {}
}
},
watch: {