refactor: uploading counters vuex state

This commit is contained in:
Ramires Viana
2020-07-07 19:41:13 +00:00
parent d0b359561f
commit b4f131be50
5 changed files with 98 additions and 65 deletions

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: {