Shaderpack support (#798)

* Shader support PR

* Make search page work

* Fix env showing

* Make moderation look reasonable

* Fix search for shaders
This commit is contained in:
Geometrically
2022-12-20 13:47:41 -07:00
committed by GitHub
parent 6f58e9e7bb
commit 97ecb0a5d6
14 changed files with 73 additions and 10 deletions

View File

@@ -501,7 +501,8 @@
<div
v-if="
project.project_type !== 'resourcepack' &&
project.project_type !== 'plugin'
project.project_type !== 'plugin' &&
project.project_type !== 'shader'
"
class="info"
>
@@ -513,7 +514,8 @@
<div
v-if="
project.project_type !== 'resourcepack' &&
project.project_type !== 'plugin'
project.project_type !== 'plugin' &&
project.project_type !== 'shader'
"
class="info"
>

View File

@@ -224,7 +224,10 @@
</button>
</section>
<section
v-if="project.project_type !== 'resourcepack'"
v-if="
project.project_type !== 'resourcepack' &&
project.project_type !== 'shader'
"
class="card game-sides"
>
<div class="columns">
@@ -864,6 +867,9 @@ export default {
this.newProject.client_side = this.clientSideType.toLowerCase()
this.newProject.server_side = this.serverSideType.toLowerCase()
this.newProject.client_side = this.clientSideType.toLowerCase()
this.newProject.server_side = this.serverSideType.toLowerCase()
this.$emit('update:project', this.newProject)
this.isEditing = false