From 83d40e53962af1e0c8a01cfa64c8529b25d97081 Mon Sep 17 00:00:00 2001 From: goodm2ice Date: Thu, 13 Jan 2022 20:39:38 +0500 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=B7=D0=B0=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?=D0=BC=D0=B0=D1=81=D1=81=D0=B8=D0=B2=D0=B0=20=D1=84=D0=B8=D0=BB?= =?UTF-8?q?=D1=8C=D1=82=D1=80=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/table.ts b/src/utils/table.ts index 55af786..12ff435 100644 --- a/src/utils/table.ts +++ b/src/utils/table.ts @@ -4,7 +4,7 @@ export const makeTextOnFilter = (key: string) => export const makeTextFilters = (array: Record[], keys: string[]) => { const filters: string[][] = Array(keys.length) - filters.forEach((_, idx) => filters[idx] = []) + for (let i = 0; i < keys.length; filters[i++] = []); array.forEach((row) => { if (!row) return