2020-05-10 06:46:06 +03:00
|
|
|
const pleromaFeCommitUrl = 'https://git.pleroma.social/pleroma/pleroma-fe/commit/'
|
|
|
|
|
|
|
|
|
|
const VersionTab = {
|
|
|
|
|
data () {
|
|
|
|
|
const instance = this.$store.state.instance
|
|
|
|
|
return {
|
|
|
|
|
backendVersion: instance.backendVersion,
|
2023-11-09 08:27:58 +01:00
|
|
|
backendRepository: instance.backendRepository,
|
2020-05-10 06:46:06 +03:00
|
|
|
frontendVersion: instance.frontendVersion
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
frontendVersionLink () {
|
|
|
|
|
return pleromaFeCommitUrl + this.frontendVersion
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default VersionTab
|