From 51f8d0fb42d0dbba268799eb9385686d22fd2284 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Fri, 3 Feb 2023 16:41:42 +0100 Subject: [PATCH] wip: fix registration code --- src/views/Profile.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/Profile.vue b/src/views/Profile.vue index fe02020..abb7a02 100644 --- a/src/views/Profile.vue +++ b/src/views/Profile.vue @@ -641,11 +641,11 @@ function textToBase64Barcode(text) { var canvas = document.createElement("canvas"); bwipjs.toCanvas(canvas, { bcid: config.codeformat || "code39", - text: text, + text: `${text}`, scale: 3, height: 10, // width: 10, - includetext: true, + includetext: false, textxalign: "center", backgroundcolor: "ffffff", });