fix: Einheit in Artikelansicht laden
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 45s
Build and Push Docker Images / build-frontend (push) Successful in 22s
Build and Push Docker Images / build-website (push) Successful in 22s
Build and Push Docker Images / build-central-services-api (push) Successful in 22s
Build and Push Docker Images / build-central-services-admin (push) Successful in 22s
Build and Push Docker Images / build-docs (push) Successful in 22s

This commit is contained in:
2026-09-09 14:00:34 +02:00
parent c383a291e1
commit a6f55b61e4
2 changed files with 9 additions and 0 deletions

View File

@@ -147,6 +147,7 @@ export const resourceConfig = {
},
products: {
table: products,
mtoLoad: ["unit"],
searchColumns: ["name","manufacturer","ean","barcode","description","manfacturer_number","article_number"],
},
productcategories: {

View File

@@ -0,0 +1,8 @@
import assert from "node:assert/strict"
import test from "node:test"
import { resourceConfig } from "../src/utils/resource.config"
test("product details load their configured unit", () => {
assert.ok(resourceConfig.products.mtoLoad.includes("unit"))
})