pleroma-fe/src/components/settings_modal/tabs/version_tab.js
Haelwenn (lanodan) Monnier 84cab03a1d Extract backend repository from nodeinfo
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
2023-11-09 08:45:07 +01:00

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