From 128f8dbf2ef8e69b19d74335ac1e25441b9d69fc Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Wed, 18 Aug 2021 15:21:47 +0300 Subject: [PATCH] Fix favicons and spelling in top sources --- assets/js/dashboard/stats/modals/sources.js | 7 +++++-- assets/js/dashboard/stats/sources/source-list.js | 7 +++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/assets/js/dashboard/stats/modals/sources.js b/assets/js/dashboard/stats/modals/sources.js index 2d591ffb0c..c5d7ea6cf0 100644 --- a/assets/js/dashboard/stats/modals/sources.js +++ b/assets/js/dashboard/stats/modals/sources.js @@ -8,7 +8,7 @@ import numberFormatter, {durationFormatter} from '../../number-formatter' import {parseQuery} from '../../query' const TITLES = { - sources: 'Top sources', + sources: 'Top Sources', utm_mediums: 'Top UTM mediums', utm_sources: 'Top UTM sources', utm_campaigns: 'Top UTM campaigns' @@ -85,7 +85,10 @@ class SourcesModal extends React.Component { return ( - + { source.name } {numberFormatter(source.count)} diff --git a/assets/js/dashboard/stats/sources/source-list.js b/assets/js/dashboard/stats/sources/source-list.js index 93824d0515..37ba0c8fbc 100644 --- a/assets/js/dashboard/stats/sources/source-list.js +++ b/assets/js/dashboard/stats/sources/source-list.js @@ -59,8 +59,7 @@ class AllSources extends React.Component { to={{search: query.toString()}} > { referrer.name } @@ -173,7 +172,7 @@ class UTMSources extends React.Component { > - @@ -214,7 +213,7 @@ class UTMSources extends React.Component { return (
-

Top sources

+

Top Sources

{ this.props.renderTabs() }
{ this.state.loading &&
}