From 51b3e8bf37e6904c7758b73bc5e60516861d2562 Mon Sep 17 00:00:00 2001
From: Miguel Caballer <micafer1@upv.es>
Date: Tue, 17 Dec 2024 10:14:08 +0100
Subject: [PATCH] Fix typo

---
 app/templates/createdep.html | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app/templates/createdep.html b/app/templates/createdep.html
index a5661bbf..d5828b33 100644
--- a/app/templates/createdep.html
+++ b/app/templates/createdep.html
@@ -153,11 +153,10 @@ <h4 class="font-weight-bold text-primary">
             for (var i = 0; i < data.length; i++) {
                 var option = "<option name='selectedCred' value='" + data[i]["id"] + "'";
                 if ("tenant_id" in data[i]) {
-                    option = option + " data-tenant-id='" + data[i]["tenant_id"];
+                    option = option + " data-tenant-id='" + data[i]["tenant_id"] + "'";
                 }
                 option = option + " data-type='" + data[i]["type"] + "'";
                 option = option + ">" + data[i]["id"] + "</option>"
-                console.log(option);
                 $('#selectedCred').append(option);
             }
         }