forked from AkkomaGang/akkoma-fe
Modify links in version tab for AGPL compliance
This commit is contained in:
parent
77bd94519e
commit
682eed8ce6
1 changed files with 6 additions and 8 deletions
|
@ -1,22 +1,20 @@
|
||||||
import { extractCommit } from 'src/services/version/version.service'
|
const pleromaFeCommitUrl = 'https://akkoma.dev/srxl/pleroma-fe/src/branch/wl-stable'
|
||||||
|
const pleromaBeCommitUrl = 'https://akkoma.dev/srxl/akkoma/src/branch/wl-stable'
|
||||||
const pleromaFeCommitUrl = 'https://akkoma.dev/AkkomaGang/pleroma-fe/commit/'
|
|
||||||
const pleromaBeCommitUrl = 'https://akkoma.dev/AkkomaGang/akkoma/commit/'
|
|
||||||
|
|
||||||
const VersionTab = {
|
const VersionTab = {
|
||||||
data () {
|
data () {
|
||||||
const instance = this.$store.state.instance
|
const instance = this.$store.state.instance
|
||||||
return {
|
return {
|
||||||
backendVersion: instance.backendVersion,
|
backendVersion: `${instance.backendVersion} (with Website League patches)`,
|
||||||
frontendVersion: instance.frontendVersion
|
frontendVersion: `${instance.frontendVersion} (with Website League patches)`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
frontendVersionLink () {
|
frontendVersionLink () {
|
||||||
return pleromaFeCommitUrl + this.frontendVersion
|
return pleromaFeCommitUrl
|
||||||
},
|
},
|
||||||
backendVersionLink () {
|
backendVersionLink () {
|
||||||
return pleromaBeCommitUrl + extractCommit(this.backendVersion)
|
return pleromaBeCommitUrl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue