From 11477c23297baef49530a16a8b0b8f5201327dcd Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Thu, 30 Sep 2021 10:07:07 +0200
Subject: [PATCH] WIP: QR Code

---
 src/core/js/ext_qrcode.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/js/ext_qrcode.js b/src/core/js/ext_qrcode.js
index a3aefe3a..7dcff42a 100644
--- a/src/core/js/ext_qrcode.js
+++ b/src/core/js/ext_qrcode.js
@@ -150,7 +150,7 @@ var ext_qrcode = function ($, connection, getEntityVersion, getEntityID, QRCode,
     const entity_id = getEntityID(entity);
     const entity_version = getEntityVersion(entity);
 
-    $(entity).find(`.${_buttons_list_class}`).append(create_qrcode_button(entity));
+    $(entity).find(`.${_buttons_list_class}`).append(create_qrcode_button(entity_id, entity_version));
   }
 
   var remove_qrcode_button = function (entity) {
-- 
GitLab