Fix mod creation again

This commit is contained in:
Jai A 2020-11-27 14:30:07 -07:00
parent 2c09e6a7c0
commit c3392d5386
No known key found for this signature in database
GPG Key ID: E8B7DFB8C62797AC
2 changed files with 2 additions and 0 deletions

View File

@ -282,6 +282,7 @@ export default {
this.createdVersion.mod_id = this.$route.params.id
this.createdVersion.dependencies = []
this.createdVersion.primary = false;
formData.append('data', JSON.stringify(this.createdVersion))

View File

@ -424,6 +424,7 @@ export default {
game_versions: [],
release_channel: 'release',
loaders: [],
primary: false,
})
this.currentVersionIndex = this.versions.length - 1