Files
klz-cables.com/.pnpm-store/v10/files/a2/05f9dc95aedb9c4557c3f51a8ac83721fcb77105c644a58769dab0fa0feb297c7d0a7398a6185582eba0d7bc877916e2ed40a74dee7de52fe5cb12d3cc8bcf
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

16 lines
413 B
Plaintext

export function isColumnActive({
accessor,
activeColumnsIndices,
column,
columns
}) {
if (column) {
return column.active;
} else if (columns && Array.isArray(columns) && columns.length > 0) {
return Boolean(columns.find(col => col.accessor === accessor)?.active);
} else if (activeColumnsIndices.length < 4) {
return true;
}
return false;
}
//# sourceMappingURL=isColumnActive.js.map