You've already forked AstralRinth
forked from didirus/AstralRinth
Fix various issues reported on the Trello (#341)
* Fix various issues reported on the Trello * Remove accidental additions
This commit is contained in:
@@ -137,7 +137,7 @@
|
||||
:disabled="(currentMember.permissions & EDIT_DETAILS) !== EDIT_DETAILS"
|
||||
>
|
||||
<TrashIcon />
|
||||
Reset icon
|
||||
Reset
|
||||
</button>
|
||||
</section>
|
||||
<section class="card game-sides">
|
||||
@@ -508,7 +508,7 @@ export default {
|
||||
this.MANAGE_INVITES = 1 << 4
|
||||
this.REMOVE_MEMBER = 1 << 5
|
||||
this.EDIT_MEMBER = 1 << 6
|
||||
this.DELETE_MOD = 1 << 7
|
||||
this.DELETE_PROJECT = 1 << 7
|
||||
},
|
||||
methods: {
|
||||
async saveProjectReview() {
|
||||
|
||||
@@ -424,8 +424,8 @@ export default {
|
||||
},
|
||||
showPopup() {
|
||||
if (
|
||||
(this.currentMember.permissions & this.DELETE_MOD) ===
|
||||
this.DELETE_MOD
|
||||
(this.currentMember.permissions & this.DELETE_PROJECT) ===
|
||||
this.DELETE_PROJECT
|
||||
) {
|
||||
this.$refs.delete_popup.show()
|
||||
}
|
||||
|
||||
@@ -218,7 +218,13 @@
|
||||
:hide-selected="true"
|
||||
placeholder="Choose mod loaders..."
|
||||
/>
|
||||
<p v-else class="value">{{ version.loaders.join(',') }}</p>
|
||||
<p v-else class="value">
|
||||
{{
|
||||
version.loaders
|
||||
.map((x) => x.charAt(0).toUpperCase() + x.slice(1))
|
||||
.join(', ')
|
||||
}}
|
||||
</p>
|
||||
</div>
|
||||
<div v-if="mode === 'version'" class="data">
|
||||
<p class="title">Downloads</p>
|
||||
@@ -251,7 +257,13 @@
|
||||
:hide-selected="true"
|
||||
placeholder="Choose versions..."
|
||||
/>
|
||||
<p v-else class="value">{{ version.game_versions.join(',') }}</p>
|
||||
<p v-else class="value">
|
||||
{{
|
||||
version.game_versions
|
||||
.map((x) => x.charAt(0).toUpperCase() + x.slice(1))
|
||||
.join(', ')
|
||||
}}
|
||||
</p>
|
||||
</div>
|
||||
<div v-if="mode === 'version'" class="data">
|
||||
<p class="title">Published</p>
|
||||
@@ -363,7 +375,7 @@
|
||||
<input
|
||||
v-model="newDependencyId"
|
||||
type="text"
|
||||
:placeholder="`Enter the ${dependencyAddMode} id...`"
|
||||
:placeholder="`Enter the ${dependencyAddMode} ID...`"
|
||||
/>
|
||||
<Multiselect
|
||||
v-model="newDependencyType"
|
||||
|
||||
Reference in New Issue
Block a user