Merge branch 'dev' of git.odit.services:lfk/frontend into dev

This commit is contained in:
2025-04-25 16:11:00 +02:00
5 changed files with 34 additions and 2 deletions

View File

@@ -389,6 +389,12 @@
:paused={!scannerActive}
on:detect={(e) => {
if (scannerActive) {
if (`${e.detail.decodedText}`.length === 13) {
e.detail.decodedText = e.detail.decodedText.substring(
0,
e.detail.decodedText.length - 1
);
}
scannerActive = false;
console.log({ type: "DETECT", code: e.detail.decodedText });
if (runnerinfo.id === 0) {