aboutsummaryrefslogtreecommitdiff
path: root/src/components/post_status_modal/post_status_modal.js
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-09-19 14:38:55 -0400
committertaehoon <th.dev91@gmail.com>2019-09-20 11:29:31 -0400
commitc8a18f387c28d5f895c1e727b0d040da96dcebc1 (patch)
tree95f669b04f9e42810ea3a3a07a27d5734e980134 /src/components/post_status_modal/post_status_modal.js
parentd6a941a128f37a2d04f5e60ad21037c2c5efcfa3 (diff)
wire up props with PostStatusModal
Diffstat (limited to 'src/components/post_status_modal/post_status_modal.js')
-rw-r--r--src/components/post_status_modal/post_status_modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/post_status_modal/post_status_modal.js b/src/components/post_status_modal/post_status_modal.js
index 15783642..1033ba11 100644
--- a/src/components/post_status_modal/post_status_modal.js
+++ b/src/components/post_status_modal/post_status_modal.js
@@ -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: {