changeset 1640:c0a2e1cd2284

fix: make length check explicit
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 20 Dec 2018 12:50:37 +0100
parents 3c9e33b4cea0
children 334d13e63342
files client/src/components/staging/Staging.vue
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/staging/Staging.vue	Thu Dec 20 12:50:20 2018 +0100
+++ b/client/src/components/staging/Staging.vue	Thu Dec 20 12:50:37 2018 +0100
@@ -29,7 +29,7 @@
         ></StagingDetail>
       </div>
     </div>
-    <div class="mt-3 p-3" v-if="filteredData.length">
+    <div class="mt-3 p-3" v-if="filteredData.length > 0">
       <button @click="confirmReview" class="confirm-button btn btn-info">
         <translate>Confirm</translate>
       </button>