refs #151 Fix default visibility state

This commit is contained in:
AkiraFukushima 2018-08-14 09:20:37 +09:00
parent 6143481bfc
commit 70ac667fcd
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ const NewToot = {
},
openModal ({ dispatch, commit, rootState }) {
commit('changeModal', true)
commit('changeVisibilityValue', rootState.tootVisibility)
commit('changeVisibilityValue', rootState.App.tootVisibility)
},
closeModal ({ commit }) {
commit('changeModal', false)