diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-07-20 15:38:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-20 15:38:49 +0300 |
commit | 45905c0895301b7e7d810737f939f1d71cbe41f4 (patch) | |
tree | c8a52ca1d468e2b8bd0702894b846c1da387a73d /plugins/CoreHome/vue/src | |
parent | d149ffb1c69f9b67811b43672ce1d431c98c249f (diff) |
Fix check for raw data availability (#19547)
* Fix check for raw data availability
* rebuilt vue files
* built vue files
Co-authored-by: Peter <peter@innocraft.com>
Co-authored-by: peterhashair <peterhashair@users.noreply.github.com>
Diffstat (limited to 'plugins/CoreHome/vue/src')
-rw-r--r-- | plugins/CoreHome/vue/src/ReportingPage/ReportingPage.vue | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/CoreHome/vue/src/ReportingPage/ReportingPage.vue b/plugins/CoreHome/vue/src/ReportingPage/ReportingPage.vue index 2cba4525ae..558e177e39 100644 --- a/plugins/CoreHome/vue/src/ReportingPage/ReportingPage.vue +++ b/plugins/CoreHome/vue/src/ReportingPage/ReportingPage.vue @@ -276,16 +276,16 @@ export default defineComponent({ method: 'Live.getLastVisitsDetails', filter_limit: 1, doNotFetchActions: 1, - }); - }).then((lastVisits) => { - if (!lastVisits || lastVisits.length === 0) { - this.hasRawData = false; - hideOnlyRawDataNoticifation(); - return; - } + }).then((lastVisits) => { + if (!lastVisits || lastVisits.length === 0) { + this.hasRawData = false; + hideOnlyRawDataNoticifation(); + return; + } - this.hasRawData = true; - showOnlyRawDataNotification(); + this.hasRawData = true; + showOnlyRawDataNotification(); + }); }); }, }, |