From ac2eafb50447eba098110164fa92a71ef3e9cfc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Bregar?= Date: Sun, 12 Apr 2026 00:39:58 +0200 Subject: [PATCH] Use patchStockItem to save stock detail identifier code --- src/features/stock/stock-detail-page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/stock/stock-detail-page.js b/src/features/stock/stock-detail-page.js index bb3a040..f6541d4 100644 --- a/src/features/stock/stock-detail-page.js +++ b/src/features/stock/stock-detail-page.js @@ -605,7 +605,7 @@ export function stockDetailPageData(store) { this.identifierState.error = ''; await runAsyncState(this.identifierState, async () => { const identifierCode = normalizeIdentifierCode(this.identifierDraft); - const updated = await updateStockItem(store, this.entry.uuid_b64, { + const updated = await patchStockItem(store, this.entry.uuid_b64, { identifier_code: identifierCode || null, });