You've already forked AstralRinth
forked from didirus/AstralRinth
Fix #450, Fix 449
This commit is contained in:
@@ -773,7 +773,8 @@ export default {
|
|||||||
await Promise.all([
|
await Promise.all([
|
||||||
this.$axios.get(`version/${this.version.id}`, this.$auth.headers),
|
this.$axios.get(`version/${this.version.id}`, this.$auth.headers),
|
||||||
this.$axios.get(
|
this.$axios.get(
|
||||||
`project/${this.version.project_id}/version?featured=true`
|
`project/${this.version.project_id}/version?featured=true`,
|
||||||
|
this.$auth.headers
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
).map((it) => it.data)
|
).map((it) => it.data)
|
||||||
|
|||||||
@@ -891,14 +891,14 @@ export default {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
categories: this.categories,
|
categories: this.categories,
|
||||||
issues_url: this.issues_url,
|
issues_url: this.issues_url ? this.issues_url : null,
|
||||||
source_url: this.source_url,
|
source_url: this.source_url ? this.source_url : null,
|
||||||
wiki_url: this.wiki_url,
|
wiki_url: this.wiki_url ? this.wiki_url : null,
|
||||||
discord_url: this.discord_url,
|
discord_url: this.discord_url,
|
||||||
client_side: this.clientSideType.toLowerCase(),
|
client_side: this.clientSideType.toLowerCase(),
|
||||||
server_side: this.serverSideType.toLowerCase(),
|
server_side: this.serverSideType.toLowerCase(),
|
||||||
license_id: this.license ? this.license.short : 'arr',
|
license_id: this.license ? this.license.short : 'arr',
|
||||||
license_url: this.license_url,
|
license_url: this.license_url ? this.license_url : null,
|
||||||
is_draft: this.draft,
|
is_draft: this.draft,
|
||||||
donation_urls: this.donationPlatforms.map((it, index) => {
|
donation_urls: this.donationPlatforms.map((it, index) => {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user