Fix/popover performance

This commit is contained in:
Shpuld Shpludson 2020-02-28 16:39:47 +00:00
parent d19c64314f
commit 31225f5d14
20 changed files with 393 additions and 330 deletions

View file

@ -5,22 +5,14 @@ const StatusPopover = {
props: [
'statusId'
],
data () {
return {
popperOptions: {
modifiers: {
preventOverflow: { padding: { top: 50 }, boundariesElement: 'viewport' }
}
}
}
},
computed: {
status () {
return find(this.$store.state.statuses.allStatuses, { id: this.statusId })
}
},
components: {
Status: () => import('../status/status.vue')
Status: () => import('../status/status.vue'),
Popover: () => import('../popover/popover.vue')
},
methods: {
enter () {