Fix bug
This commit is contained in:
parent
9776d8e06b
commit
8d3f71d490
|
@ -44,12 +44,12 @@ import Vue from 'vue';
|
||||||
import * as anime from 'animejs';
|
import * as anime from 'animejs';
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
|
props: ['source', 'compact'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
v: this.$store.state.device.visibility
|
v: this.$store.state.device.visibility || 'public'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: ['source', 'compact'],
|
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
const popover = this.$refs.popover as any;
|
const popover = this.$refs.popover as any;
|
||||||
|
|
Loading…
Reference in a new issue