update with bookmarks, clean up some code

This commit is contained in:
Shpuld Shpuldson 2020-07-07 17:34:35 +03:00
commit ddde05771f
59 changed files with 982 additions and 236 deletions

View file

@ -22,6 +22,10 @@ const StatusPopover = {
methods: {
enter () {
if (!this.status) {
if (!this.statusId) {
this.error = true
return
}
this.$store.dispatch('fetchStatus', this.statusId)
.then(data => (this.error = false))
.catch(e => (this.error = true))