store all makeFetch, with isLoaded check

This commit is contained in:
2022-01-25 18:20:29 +01:00
parent e4629ed599
commit 2144b247b3
6 changed files with 178 additions and 10 deletions

View File

@@ -3,8 +3,18 @@
</template>
<script>
import { mapState, mapGetters } from "vuex";
export default {
name: "MyWorks"
name: "MyWorks",
computed: {
...mapState([
'works',
]),
...mapGetters([
'isWorksLoaded',
])
},
}
</script>