From ba4272c878ce765d1c3a3041e3c989c380af8342 Mon Sep 17 00:00:00 2001 From: Alexander Klein Date: Fri, 19 Feb 2021 09:58:20 +0100 Subject: [PATCH] fix: remove devices/OS filter from table components --- components/metrics/DevicesTable.js | 2 -- components/metrics/OSTable.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/components/metrics/DevicesTable.js b/components/metrics/DevicesTable.js index 52b6b5fc..3073cf8b 100644 --- a/components/metrics/DevicesTable.js +++ b/components/metrics/DevicesTable.js @@ -1,6 +1,5 @@ import React from 'react'; import MetricsTable from './MetricsTable'; -import { deviceFilter } from 'lib/filters'; import { FormattedMessage } from 'react-intl'; import { getDeviceMessage } from 'components/messages'; @@ -12,7 +11,6 @@ export default function DevicesTable({ websiteId, ...props }) { type="device" metric={} websiteId={websiteId} - dataFilter={deviceFilter} renderLabel={({ x }) => getDeviceMessage(x)} /> ); diff --git a/components/metrics/OSTable.js b/components/metrics/OSTable.js index c1790e17..c77ae074 100644 --- a/components/metrics/OSTable.js +++ b/components/metrics/OSTable.js @@ -1,6 +1,5 @@ import React from 'react'; import MetricsTable from './MetricsTable'; -import { osFilter } from 'lib/filters'; import { FormattedMessage } from 'react-intl'; export default function OSTable({ websiteId, ...props }) { @@ -11,7 +10,6 @@ export default function OSTable({ websiteId, ...props }) { type="os" metric={} websiteId={websiteId} - dataFilter={osFilter} /> ); }