From 7eb30a351ac2948997e50ee828e5ee92673c385f Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 5 Feb 2020 09:29:18 +0900 Subject: [PATCH] Fix #5799 --- src/client/components/post-form.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue index 807a1d9f7..9a13f523a 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; },