diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2018-08-17 19:24:10 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-17 19:24:10 +0900 |
| commit | 9776d8e06bb26cef979450ea4995d0555aba26d0 (patch) | |
| tree | 1369c3296fa1bfcccf2801d436256f836e829194 /src/client/app/desktop | |
| parent | Merge branch 'master' of https://github.com/syuilo/misskey (diff) | |
| parent | fix #2266: デフォルト値を設定 (diff) | |
| download | misskey-9776d8e06bb26cef979450ea4995d0555aba26d0.tar.gz misskey-9776d8e06bb26cef979450ea4995d0555aba26d0.tar.bz2 misskey-9776d8e06bb26cef979450ea4995d0555aba26d0.zip | |
Merge pull request #2283 from sei0o/patch-2266
fix #2266
Diffstat (limited to 'src/client/app/desktop')
| -rw-r--r-- | src/client/app/desktop/views/components/post-form.vue | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/app/desktop/views/components/post-form.vue b/src/client/app/desktop/views/components/post-form.vue index ea51144173..d5d160bd8f 100644 --- a/src/client/app/desktop/views/components/post-form.vue +++ b/src/client/app/desktop/views/components/post-form.vue @@ -99,7 +99,7 @@ export default Vue.extend({ useCw: false, cw: null, geo: null, - visibility: 'public', + visibility: this.$store.state.device.visibility || 'public', visibleUsers: [], autocomplete: null, draghover: false, @@ -326,8 +326,7 @@ export default Vue.extend({ setVisibility() { const w = (this as any).os.new(MkVisibilityChooser, { - source: this.$refs.visibilityButton, - v: this.visibility + source: this.$refs.visibilityButton }); w.$once('chosen', v => { this.visibility = v; |