forked from srxl/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/AkkomaGang/pleroma-fe/commit/'
|
||||
const pleromaBeCommitUrl = 'https://akkoma.dev/AkkomaGang/akkoma/commit/'
|
||||
const pleromaFeCommitUrl = 'https://akkoma.dev/srxl/pleroma-fe/src/branch/wl-stable'
|
||||
const pleromaBeCommitUrl = 'https://akkoma.dev/srxl/akkoma/src/branch/wl-stable'
|
||||
|
||||
const VersionTab = {
|
||||
data () {
|
||||
const instance = this.$store.state.instance
|
||||
return {
|
||||
backendVersion: instance.backendVersion,
|
||||
frontendVersion: instance.frontendVersion
|
||||
backendVersion: `${instance.backendVersion} (with Website League patches)`,
|
||||
frontendVersion: `${instance.frontendVersion} (with Website League patches)`
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
frontendVersionLink () {
|
||||
return pleromaFeCommitUrl + this.frontendVersion
|
||||
return pleromaFeCommitUrl
|
||||
},
|
||||
backendVersionLink () {
|
||||
return pleromaBeCommitUrl + extractCommit(this.backendVersion)
|
||||
return pleromaBeCommitUrl
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue