You've already forked AstralRinth
forked from didirus/AstralRinth
Fix moderation queue, moderation status card when approved, and invalid datapack packages (#907)
* Fool behavior * Add leading underscore to packaged datapack package if it starts with a number * Hide mod status card for all approved statuses without mod messages * Fix project id sanitization
This commit is contained in:
@@ -280,9 +280,7 @@
|
||||
<div
|
||||
v-if="
|
||||
currentMember &&
|
||||
((project.status !== 'approved' &&
|
||||
project.status !== 'unlisted' &&
|
||||
project.status !== 'draft' &&
|
||||
((!$tag.approvedStatuses.includes(project.status) &&
|
||||
project.status !== 'processing') ||
|
||||
(project.moderator_message &&
|
||||
(project.moderator_message.message ||
|
||||
|
||||
@@ -269,10 +269,10 @@ export default {
|
||||
},
|
||||
onModalClose() {
|
||||
this.projects.splice(
|
||||
this.projects.findIndex((x) => this.project.id === x.id),
|
||||
this.projects.findIndex((x) => this.currentProject.id === x.id),
|
||||
1
|
||||
)
|
||||
this.project = null
|
||||
this.currentProject = null
|
||||
},
|
||||
async deleteReport(index) {
|
||||
this.$nuxt.$loading.start()
|
||||
|
||||
Reference in New Issue
Block a user