forked from AkkomaGang/akkoma-fe
Dont copy local URL if external post
This commit is contained in:
parent
fa80d2627d
commit
e39e7d5395
1 changed files with 5 additions and 1 deletions
|
@ -113,7 +113,11 @@ const ExtraButtons = {
|
||||||
return !!this.currentUser
|
return !!this.currentUser
|
||||||
},
|
},
|
||||||
statusLink () {
|
statusLink () {
|
||||||
return `${this.$store.state.instance.server}${this.$router.resolve({ name: 'conversation', params: { id: this.status.id } }).href}`
|
if (this.status.is_local) {
|
||||||
|
return `${this.$store.state.instance.server}${this.$router.resolve({ name: 'conversation', params: { id: this.status.id } }).href}`
|
||||||
|
} else {
|
||||||
|
return this.status.external_url
|
||||||
|
}
|
||||||
},
|
},
|
||||||
shouldConfirmDelete () {
|
shouldConfirmDelete () {
|
||||||
return this.$store.getters.mergedConfig.modalOnDelete
|
return this.$store.getters.mergedConfig.modalOnDelete
|
||||||
|
|
Loading…
Reference in a new issue