Dont copy local URL if external post

This commit is contained in:
eris 2022-08-30 08:51:07 +00:00
parent 08d4b3b885
commit bd4e8271df

View file

@ -121,7 +121,11 @@ const ExtraButtons = {
return this.$store.state.instance.translationEnabled === true
},
statusLink () {
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