Skip to content

Commit 3999acd

Browse files
committed
Remove logs
1 parent 199b71e commit 3999acd

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

components/modules/stats/tabs/RollupsTab.vue

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -14,60 +14,22 @@ import { fetchRollups } from "@/services/api/rollup.js"
1414
1515
const isLoading = ref(false)
1616
const series = ref()
17-
// const series = computed(() => getSeriesByGroupAndType('Rollups'))
1817
1918
const getRollups = async () => {
2019
isLoading.value = true
2120
22-
// const data = await fetchRollups({
23-
// limit: 100,
24-
// })
2521
series.value = getSeriesByGroupAndType('Rollups')
2622
2723
fetchRollups({ limit: 100 })
2824
.then((res) => {
29-
console.log('isLoading.value then', isLoading.value);
30-
console.log('series.value.data then1', series.value.data);
31-
3225
series.value.data = res
33-
console.log('series.value.data then2', series.value.data);
3426
})
3527
.finally(() => {
36-
console.log('isLoading.value finally1', isLoading.value);
3728
isLoading.value = false
38-
console.log('isLoading.value finally2', isLoading.value);
3929
})
4030
41-
// fetchRollups({ limit: 100 })
42-
// .then((res) => {
43-
// console.log('isLoading.value then', isLoading.value);
44-
// console.log('series.value.data then1', series.value.data);
45-
46-
// series.value.data = res
47-
// console.log('series.value.data then2', series.value.data);
48-
// } )
49-
// .finally(() => {
50-
// console.log('isLoading.value finally1', isLoading.value);
51-
// isLoading.value = false
52-
// console.log('isLoading.value finally2', isLoading.value);
53-
// })
54-
55-
// series.value.data = data
56-
57-
// isLoading.value = false
5831
}
5932
60-
// onMounted(async () => {
61-
// await getRollups()
62-
// })
63-
64-
// watch(
65-
// () => series.value,
66-
// async () => {
67-
// await getRollups()
68-
// }
69-
// )
70-
7133
await getRollups()
7234
</script>
7335

@@ -77,7 +39,6 @@ await getRollups()
7739
<Flex align="center" justify="between" wide :class="$style.section">
7840
<Flex align="center" gap="4">
7941
<Text size="16" weight="600" color="primary" justify="start">Overview</Text>
80-
<!-- <Text size="14" weight="600" color="tertiary">(top 10 rollups)</Text> -->
8142
</Flex>
8243

8344
<Button link="/rollups" type="secondary" size="mini">

0 commit comments

Comments
 (0)