From 1e5a1a51d21d78a4a717e9434932be9da20d3115 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Fri, 11 Sep 2020 21:10:09 +0200
Subject: viewer: PR #238 code review changes (2nd)

---
 viewer/src/components/LdProposition.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'viewer/src/components/LdProposition.vue')

diff --git a/viewer/src/components/LdProposition.vue b/viewer/src/components/LdProposition.vue
index 34ddf51..abca8cd 100644
--- a/viewer/src/components/LdProposition.vue
+++ b/viewer/src/components/LdProposition.vue
@@ -71,7 +71,7 @@ export default class LdProposition extends Vue {
 
   getInitialTagDisplayLimit() {
     const limit = this.$galleryStore.config?.initialTagDisplayLimit ?? 10;
-    return limit > 0 ? limit : 1000;
+    return limit >= 0 ? limit : 1000;
   }
 
   @Watch("$route")
-- 
cgit v1.2.3

