Skip to content

Commit

Permalink
chore: remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
BreadGenie committed Sep 20, 2024
1 parent 69c07c5 commit f4432e7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 66 deletions.
16 changes: 0 additions & 16 deletions dashboard/src2/components/site/performance/SiteBinaryLogs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
};
Expand Down
50 changes: 0 additions & 50 deletions dashboard/src2/components/site/performance/SitePerformance.vue
Original file line number Diff line number Diff line change
@@ -1,54 +1,4 @@
<template>
<!-- <div class="grid grid-cols-1 gap-5 sm:grid-cols-3"> -->
<!-- <div
v-if="$route.fullPath.endsWith('/performance')"
class="mx-auto flex max-w-2xl flex-col gap-3"
> -->
<!-- <div
class="hover:bg-gray-100 sm:rounded-md sm:border sm:border-gray-100 sm:px-2 sm:py-1 sm:shadow"
>
<router-link :to="{ name: 'SiteRequestLogs', params: { siteName } }">
<div class="py-2 text-gray-900 sm:px-2">Request Logs</div>
</router-link>
</div> -->
<!-- <div
class="hover:bg-gray-100 sm:rounded-md sm:border sm:border-gray-100 sm:px-2 sm:py-1 sm:shadow"
>
<router-link :to="{ name: 'Site Performance Binary Logs' }">
<div class="py-2 text-gray-900 sm:px-2">Mariadb Binary Log Report</div>
</router-link>
</div>
<div
class="hover:bg-gray-100 sm:rounded-md sm:border sm:border-gray-100 sm:px-2 sm:py-1 sm:shadow"
>
<router-link :to="{ name: 'Site Performance Process List' }">
<div class="py-2 text-gray-900 sm:px-2">Mariadb Process List</div>
</router-link>
</div>
<div
class="hover:bg-gray-100 sm:rounded-md sm:border sm:border-gray-100 sm:px-2 sm:py-1 sm:shadow"
>
<router-link
:to="{
name: 'Site Performance Slow Queries'
}"
>
<div class="py-2 text-gray-900 sm:px-2">
Mariadb Slow Queries Report
</div>
</router-link>
</div> -->
<!-- <div
class="hover:bg-gray-100 sm:rounded-md sm:border sm:border-gray-100 sm:px-2 sm:py-1 sm:shadow"
>
<router-link :to="{ name: 'SiteDeadlockReport', params: { siteName } }">
<div class="py-2 text-gray-900 sm:px-2">Deadlock Report</div>
</router-link>
</div> -->
<!-- </div>
<router-view v-slot="{ Component }">
<component v-if="site" :is="Component" :site="site"></component>
</router-view> -->
<ObjectList class="mt-7" :options="options" />
</template>
<script>
Expand Down

0 comments on commit f4432e7

Please sign in to comment.