refactor: uploading counters vuex state

This commit is contained in:
Ramires Viana committed 2020-07-10 00:01:37 +00:00
1 parent d0b359561f
commit b4f131be50
5 files changed
+98 -65

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
<template>
<div>
<div id="progress">
<div v-bind:style="{ width: $store.state.progress + '%' }"></div>
<div v-bind:style="{ width: this.progress + '%' }"></div>
</div>
<site-header></site-header>
<sidebar></sidebar>
@@ -29,7 +29,7 @@ export default {
Shell
},
computed: {
...mapGetters([ 'isLogged' ]),
...mapGetters([ 'isLogged', 'progress' ]),
...mapState([ 'user' ])
},
watch: {