Also removes extractCommit, could be kept when the forge is git.pleroma.social Partial fix of https://git.pleroma.social/pleroma/pleroma-fe/-/issues/1283
19 lines
474 B
JavaScript
19 lines
474 B
JavaScript
const pleromaFeCommitUrl = 'https://git.pleroma.social/pleroma/pleroma-fe/commit/'
|
|
|
|
const VersionTab = {
|
|
data () {
|
|
const instance = this.$store.state.instance
|
|
return {
|
|
backendVersion: instance.backendVersion,
|
|
backendRepository: instance.backendRepository,
|
|
frontendVersion: instance.frontendVersion
|
|
}
|
|
},
|
|
computed: {
|
|
frontendVersionLink () {
|
|
return pleromaFeCommitUrl + this.frontendVersion
|
|
}
|
|
}
|
|
}
|
|
|
|
export default VersionTab
|