make more components use new popover, fix some things

This commit is contained in:
Shpuld Shpuldson 2020-02-14 09:05:33 +02:00
commit 3c136c241f
16 changed files with 166 additions and 186 deletions

View file

@ -5,15 +5,6 @@ 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 })
@ -28,6 +19,7 @@ const StatusPopover = {
if (!this.status) {
this.$store.dispatch('fetchStatus', this.statusId)
}
console.log(this.$el.offsetParent)
}
}
}