From f9e27110244d1e76fab475cc0d065713b02025d1 Mon Sep 17 00:00:00 2001 From: Hiago Lucas Cardeal Date: Thu, 7 May 2020 12:31:21 -0300 Subject: [PATCH] remove range --- node/commons/compatibility-layer.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/node/commons/compatibility-layer.ts b/node/commons/compatibility-layer.ts index 6400410e..579b7cf7 100644 --- a/node/commons/compatibility-layer.ts +++ b/node/commons/compatibility-layer.ts @@ -162,13 +162,6 @@ export const biggyAttributesToVtexFilters = (attributes: any) => key: attribute.key, value: value.key, selected: value.active, - range: - attribute.type === 'number' - ? { - from: parseFloat(value.from), - to: parseFloat(value.to), - } - : undefined, } }), }