forked from AkkomaGang/akkoma-fe
Merge branch 'fix/hotfix-for-reply-navigation' into 'develop'
Unbreak reply navigation See merge request pleroma/pleroma-fe!159
This commit is contained in:
commit
f9c701a702
1 changed files with 1 additions and 10 deletions
|
@ -92,7 +92,7 @@ const Status = {
|
||||||
},
|
},
|
||||||
gotoOriginal (id) {
|
gotoOriginal (id) {
|
||||||
// only handled by conversation, not status_or_conversation
|
// only handled by conversation, not status_or_conversation
|
||||||
if (this.expanded) {
|
if (this.inConversation) {
|
||||||
this.$emit('goto', id)
|
this.$emit('goto', id)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -122,18 +122,9 @@ const Status = {
|
||||||
} else if (this.preview.id !== targetId) {
|
} else if (this.preview.id !== targetId) {
|
||||||
this.preview = find(statuses, { 'id': targetId })
|
this.preview = find(statuses, { 'id': targetId })
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
if (this.$store.state.config.hoverPreview) {
|
|
||||||
let rect = event.target.getBoundingClientRect()
|
|
||||||
this.$emit('preview', Number(id), rect.left + 20, rect.top + 20 + window.pageYOffset)
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
},
|
},
|
||||||
replyLeave () {
|
replyLeave () {
|
||||||
this.showPreview = false
|
this.showPreview = false
|
||||||
/*
|
|
||||||
this.$emit('preview', 0, 0, 0)
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
Loading…
Reference in a new issue