From f4432e7ac013d9edf93954196ba4bfd4bbe781ef Mon Sep 17 00:00:00 2001 From: Bread Genie Date: Fri, 20 Sep 2024 11:36:49 +0530 Subject: [PATCH] chore: remove unneeded code --- .../site/performance/SiteBinaryLogs.vue | 16 ------ .../site/performance/SitePerformance.vue | 50 ------------------- 2 files changed, 66 deletions(-) diff --git a/dashboard/src2/components/site/performance/SiteBinaryLogs.vue b/dashboard/src2/components/site/performance/SiteBinaryLogs.vue index 38990ea9c5..93ebb8e978 100644 --- a/dashboard/src2/components/site/performance/SiteBinaryLogs.vue +++ b/dashboard/src2/components/site/performance/SiteBinaryLogs.vue @@ -114,22 +114,6 @@ export default { ]; } }; - }, - formatData() { - let binaryData = this.$resources.binaryLogs.data; - let data = []; - binaryData.forEach(row => { - let timestamp = this.formatDate( - row.timestamp, - 'TIME_24_WITH_SHORT_OFFSET' - ); - let out = [ - { name: 'Timestamp', value: timestamp, class: 'w-3/12' }, - { name: 'Query', value: row.query, class: 'w-9/12' } - ]; - data.push(out); - }); - return data; } } }; diff --git a/dashboard/src2/components/site/performance/SitePerformance.vue b/dashboard/src2/components/site/performance/SitePerformance.vue index 359e6f0057..f5505c7b74 100644 --- a/dashboard/src2/components/site/performance/SitePerformance.vue +++ b/dashboard/src2/components/site/performance/SitePerformance.vue @@ -1,54 +1,4 @@