Skip to content

Commit dde37df

Browse files
committed
Vue files cleanup
1 parent 877b242 commit dde37df

File tree

7 files changed

+1
-24
lines changed

7 files changed

+1
-24
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/main.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ export default {
8282
this.currentPeriod = response.defaults.period ? response.defaults.period : response.periods[0]
8383
})
8484
},
85-
destroyed() {
86-
},
8785
methods: {
8886
chartIsLoading() {
8987
this.chartLoading = true

src/components/sidebar.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ export default {
5454
this.summary = response.summary
5555
})
5656
},
57-
destroyed() {
58-
},
59-
methods: {
60-
},
6157
}
6258
</script>
6359

src/components/widgets/chart.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@ export default {
148148
return this.theme == 'light' ? '#282c34' : '#0f0f0f'
149149
},
150150
},
151-
mounted() {
152-
console.log(this.theme)
153-
},
154151
watch: {
155152
currentPeriod: {
156153
immediate: true,

src/components/widgets/realtime.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ export default {
2323
visitors: Number,
2424
}
2525
},
26-
props: {
27-
},
2826
computed: {
2927
isEmpty() {
3028
return this.status == 'empty'
@@ -37,8 +35,6 @@ export default {
3735
created() {
3836
this.syncContent()
3937
},
40-
destroyed() {
41-
},
4238
methods: {
4339
syncContent() {
4440
this.loading = true

src/components/widgets/summary.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ export default {
4444
}
4545
}
4646
},
47-
props: {
48-
},
4947
computed: {
5048
isEmpty() {
5149
return this.status == 'empty'
@@ -54,8 +52,6 @@ export default {
5452
created() {
5553
this.syncContent()
5654
},
57-
destroyed() {
58-
},
5955
methods: {
6056
syncContent() {
6157
this.loading = true

src/components/widgets/widget.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,6 @@ export default {
8181
return this.widget == 'socials'
8282
},
8383
},
84-
created() {
85-
},
86-
destroyed() {
87-
},
88-
watch: {
89-
},
9084
methods: {
9185
visitsPercent(result) {
9286
let percent = result.nb_visits / this.totalVisits * 100

0 commit comments

Comments
 (0)