Fix a bug introduced in #278 ("submit for approval" always being present) (#283)

This fixes a bug where the "Submit for approval" button was always present no matter the project status. These things are finnicky.
This commit is contained in:
Emma
2021-07-14 15:10:01 -04:00
committed by GitHub
parent b3b9788d37
commit ec92a4cd34

View File

@@ -9,7 +9,11 @@
Back
</nuxt-link>
<button
v-if="mod.status === 'rejected' || 'draft' || 'unlisted'"
v-if="
mod.status === 'rejected' ||
mod.status === 'draft' ||
mod.status === 'unlisted'
"
title="Submit for approval"
class="button column"
:disabled="!this.$nuxt.$loading"