Dont copy local URL if external post
This commit is contained in:
parent
08d4b3b885
commit
bd4e8271df
1 changed files with 5 additions and 1 deletions
|
@ -121,7 +121,11 @@ const ExtraButtons = {
|
|||
return this.$store.state.instance.translationEnabled === true
|
||||
},
|
||||
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 () {
|
||||
return this.$store.getters.mergedConfig.modalOnDelete
|
||||
|
|
Loading…
Reference in a new issue