diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2020-02-05 09:29:18 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2020-02-05 09:29:18 +0900 |
| commit | 5ce2bdf117788a6f39be797ab7fde930734b30da (patch) | |
| tree | 35ba76ce0fc3eeb15029394035ec76e6c626f62b /src | |
| parent | Update post-form.vue (diff) | |
| download | sharkey-5ce2bdf117788a6f39be797ab7fde930734b30da.tar.gz sharkey-5ce2bdf117788a6f39be797ab7fde930734b30da.tar.bz2 sharkey-5ce2bdf117788a6f39be797ab7fde930734b30da.zip | |
Fix #5799
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/components/post-form.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue index 807a1d9f7f..9a13f523aa 100644 --- a/src/client/components/post-form.vue +++ b/src/client/components/post-form.vue @@ -386,6 +386,7 @@ export default Vue.extend({ }, applyVisibility(v: string) { + if (!['public', 'home', 'followers', 'specified'].includes(v)) v = 'public'; // v11互換性のため this.visibility = v; }, |