Files
klz-cables.com/.pnpm-store/v10/files/b3/e626beeace9859463bf9ee5b138862b20ab71c2ec6ae2e3563e62599d0bca24cf9a8705d5aeca653fc05fec5f3c90a24a6ae77f514a6761ef0ebe776372f1a
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

30 lines
810 B
Plaintext

import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import React from 'react';
import { ListSelection } from '../ListSelection/index.js';
import './index.scss';
const baseClass = 'group-by-header';
export const GroupByHeader = ({
collectionConfig,
groupByFieldPath,
groupByValue,
heading
}) => {
return /*#__PURE__*/_jsxs("header", {
className: baseClass,
children: [/*#__PURE__*/_jsx("h4", {
className: `${baseClass}__heading`,
"data-group-id": groupByValue,
children: heading
}), /*#__PURE__*/_jsx(ListSelection, {
collectionConfig: collectionConfig,
label: heading,
modalPrefix: groupByValue,
where: {
[groupByFieldPath]: {
equals: groupByValue
}
}
})]
});
};
//# sourceMappingURL=index.js.map