From c7e853d17eb31c636d71e414803fd8f63ec80430 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timoth=C3=A9e=20Poussard?= <tpoussard@neogeo.fr>
Date: Wed, 6 Oct 2021 15:36:57 +0200
Subject: [PATCH] add missing computed after merge

---
 src/components/Dropdown.vue | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/components/Dropdown.vue b/src/components/Dropdown.vue
index b7743892..1bef8f75 100644
--- a/src/components/Dropdown.vue
+++ b/src/components/Dropdown.vue
@@ -54,6 +54,10 @@ export default {
       }
       return options.length > 0 ? options : null;
     },
+
+    placehold() {
+      return this.input ? "" : this.placeholder;
+    },
   },
 
   data() {
@@ -63,7 +67,7 @@ export default {
       identifier: 0,
     };
   },
-  
+
   methods: {
     toggleDropdown(val) {
       if (this.isOpen) {
@@ -99,10 +103,7 @@ export default {
   },
 
   created() {
-    let randomnum =
-      Math.floor(
-        Math.random() * 10000
-      );
+    let randomnum = Math.floor(Math.random() * 10000);
     this.identifier = randomnum;
     window.addEventListener("mousedown", this.clickOutsideDropdown);
   },
-- 
GitLab