From 6edfa66157034d96039affa2cd234e2500736b51 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 17 Aug 2018 19:35:05 +0900 Subject: [PATCH] Fix bug --- src/client/app/common/views/components/visibility-chooser.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/app/common/views/components/visibility-chooser.vue b/src/client/app/common/views/components/visibility-chooser.vue index 8be3ddb8f..4691604e5 100644 --- a/src/client/app/common/views/components/visibility-chooser.vue +++ b/src/client/app/common/views/components/visibility-chooser.vue @@ -44,12 +44,12 @@ import Vue from 'vue'; import * as anime from 'animejs'; export default Vue.extend({ + props: ['source', 'compact'], data() { return { - v: this.$store.state.device.visibility + v: this.$store.state.device.visibility || 'public' } }, - props: ['source', 'compact'], mounted() { this.$nextTick(() => { const popover = this.$refs.popover as any;