Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Remove languages table on main metrics page
Chris Walsh772555309774
diff --git a/components/metrics/MetricsTable.js b/components/metrics/MetricsTable.jsindex 608e716d6..95eb00c37 100644--- a/components/metrics/MetricsTable.js+++ b/components/metrics/MetricsTable.js@@ -23,7 +23,6 @@ export default function MetricsTable({filterOptions,limit,onDataLoad,- maxHeight = null,...props}) {const shareToken = useShareToken();@@ -63,10 +62,7 @@ export default function MetricsTable({}, [data, error, dataFilter, filterOptions]);return (- <div- className={classNames(styles.container, className)}- style={maxHeight ? { minHeight: 0, maxHeight } : {}}- >+ <div className={classNames(styles.container, className)}>{!data && loading && <Loading />}{error && <ErrorMessage />}{data && !error && <DataTable {...props} data={filteredData} className={className} />}diff --git a/components/pages/WebsiteDetails.js b/components/pages/WebsiteDetails.jsindex de8c8f060..876fbfc46 100644--- a/components/pages/WebsiteDetails.js+++ b/components/pages/WebsiteDetails.js@@ -153,8 +153,7 @@ export default function WebsiteDetails({ websiteId }) {<WorldMap data={countryData} /></GridColumn><GridColumn xs={12} md={12} lg={4}>- <CountriesTable maxHeight={265} {...tableProps} onDataLoad={setCountryData} />- <LanguagesTable maxHeight={265} {...tableProps} />+ <CountriesTable {...tableProps} onDataLoad={setCountryData} /></GridColumn></GridRow><GridRow className={classNames({ [styles.hidden]: !eventsData?.length > 0 })}>