Compare commits

...

3 Commits

Author SHA1 Message Date
8cb6093f0b
chore(release): 1.11.5
All checks were successful
Build release images / build-container (push) Successful in 58s
2025-04-25 16:11:44 +02:00
7a92adcd3a
Merge branch 'dev' of git.odit.services:lfk/frontend into dev 2025-04-25 16:11:00 +02:00
27396e17f2
fix(cards): Update table for edit events 2025-04-25 16:10:11 +02:00
4 changed files with 12 additions and 7 deletions

View File

@ -2,9 +2,16 @@
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
#### [1.11.5](https://git.odit.services/lfk/frontend/compare/1.11.4...1.11.5)
- fix(cards): Update table for edit events [`27396e1`](https://git.odit.services/lfk/frontend/commit/27396e17f2cd8be72c9c8100afe6ec75ac66dceb)
#### [1.11.4](https://git.odit.services/lfk/frontend/compare/1.11.3...1.11.4)
> 25 April 2025
- feat(CardAssign): styled buttons [`f9993c6`](https://git.odit.services/lfk/frontend/commit/f9993c60f565d7270b3a269e934b42b945c24b99)
- chore(release): 1.11.4 [`fefd5c8`](https://git.odit.services/lfk/frontend/commit/fefd5c8237b91ac7fd7ecf467a6feb1100f84811)
- feat(CardAssignment): support EAN13 [`8e314f8`](https://git.odit.services/lfk/frontend/commit/8e314f8676e5c189c09a33c9a382a8b984af5e30)
#### [1.11.3](https://git.odit.services/lfk/frontend/compare/1.11.2...1.11.3)

View File

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

View File

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

View File

@ -180,11 +180,9 @@
bind:runner
bind:editable
bind:original_data
on:dataUpdated={(event) => {
current_cards[
current_cards.findIndex((c) => c.id === event.detail.card.id)
] = event.detail.card;
current_cards = current_cards;
on:dataUpdated={(editevent) => {
console.log(editevent.detail.card)
current_cards = current_cards.filter((c) => c.id !== editevent.detail.card.id).concat([editevent.detail.card]).sort((a, b) => a.code - b.code);
options.update((options) => ({
...options,
data: current_cards,