Files
klz-cables.com/.pnpm-store/v10/files/b7/2d6731bcee827f20aa4dd24bacf10f03ee15903fbfc7e89026a52b63ee811c8a4636b618c356bd3fb1b971396ecf3cea8a56ca3d1d0b0fb4e9c258137c8d0f
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

42 lines
1.2 KiB
Plaintext

'use client';
import { c as _c } from "react/compiler-runtime";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import React from 'react';
import { EditIcon } from '../../../../icons/Edit/index.js';
import { useCellProps } from '../../../../providers/TableColumns/RenderDefaultCell/index.js';
import { DefaultCell } from '../../../Table/DefaultCell/index.js';
import './index.scss';
export const DrawerLink = t0 => {
const $ = _c(3);
const {
onDrawerOpen
} = t0;
const cellProps = useCellProps();
let t1;
if ($[0] !== cellProps || $[1] !== onDrawerOpen) {
t1 = _jsxs("div", {
className: "drawer-link",
children: [_jsx(DefaultCell, {
...cellProps,
className: "drawer-link__cell",
link: false,
onClick: null
}), _jsx("button", {
className: "drawer-link__doc-drawer-toggler",
onClick: () => {
onDrawerOpen(cellProps.rowData.id, cellProps.collectionSlug);
},
type: "button",
children: _jsx(EditIcon, {})
})]
});
$[0] = cellProps;
$[1] = onDrawerOpen;
$[2] = t1;
} else {
t1 = $[2];
}
return t1;
};
//# sourceMappingURL=index.js.map