Compare commits

...

2 Commits

Author SHA1 Message Date
2dea19df89
chore(release): 1.11.2
All checks were successful
Build release images / build-container (push) Successful in 1m1s
2025-04-23 11:01:55 +02:00
6c986467d3
fix(cardassignment): handle card not found 2025-04-23 11:01:06 +02:00
4 changed files with 14 additions and 4 deletions

View File

@ -2,8 +2,15 @@
All notable changes to this project will be documented in this file. Dates are displayed in UTC. All notable changes to this project will be documented in this file. Dates are displayed in UTC.
#### [1.11.2](https://git.odit.services/lfk/frontend/compare/1.11.1...1.11.2)
- fix(cardassignment): handle card not found [`6c98646`](https://git.odit.services/lfk/frontend/commit/6c986467d39344a32e598b834a115932ab8c9a1f)
#### [1.11.1](https://git.odit.services/lfk/frontend/compare/1.11.0...1.11.1) #### [1.11.1](https://git.odit.services/lfk/frontend/compare/1.11.0...1.11.1)
> 22 April 2025
- chore(release): 1.11.1 [`3cedbeb`](https://git.odit.services/lfk/frontend/commit/3cedbebe40b7699e39edc133e4bcbc16f4e7eb56)
- ci: fix build [`dc986e4`](https://git.odit.services/lfk/frontend/commit/dc986e4fe5d462909e34b8bbf9a3c10accb2a00b) - ci: fix build [`dc986e4`](https://git.odit.services/lfk/frontend/commit/dc986e4fe5d462909e34b8bbf9a3c10accb2a00b)
#### [1.11.0](https://git.odit.services/lfk/frontend/compare/1.10.6...1.11.0) #### [1.11.0](https://git.odit.services/lfk/frontend/compare/1.10.6...1.11.0)

View File

@ -13,7 +13,7 @@
<body> <body>
<span style="display: none; visibility: hidden" id="buildinfo" <span style="display: none; visibility: hidden" id="buildinfo"
>RELEASE_INFO-1.11.1-RELEASE_INFO</span >RELEASE_INFO-1.11.2-RELEASE_INFO</span
> >
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>
<script src="/env.js"></script> <script src="/env.js"></script>

View File

@ -1,6 +1,6 @@
{ {
"name": "@odit/lfk-frontend", "name": "@odit/lfk-frontend",
"version": "1.11.1", "version": "1.11.2",
"type": "module", "type": "module",
"scripts": { "scripts": {
"i18n-order": "node order.js", "i18n-order": "node order.js",

View File

@ -433,7 +433,7 @@
state = "assigning"; state = "assigning";
RunnerCardService.runnerCardControllerGetAll() RunnerCardService.runnerCardControllerGetAll()
.then((cards) => { .then((cards) => {
console.log(cards); // console.log(cards);
const card = cards.find((c) => c.code === cardCode); const card = cards.find((c) => c.code === cardCode);
if (card) { if (card) {
console.log("card found", card); console.log("card found", card);
@ -450,7 +450,10 @@
scannerActive = false; scannerActive = false;
}); });
} else { } else {
scannerActive = true; console.log("card not found");
// scannerActive = true;
state = "error_card";
scannerActive = false;
} }
}) })
.catch(() => { .catch(() => {