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

@@ -78,7 +78,7 @@ import MyEvaluations from './MyEvaluations';
import MyTasks from './MyTasks';
import MyAccompanyingCourses from './MyAccompanyingCourses';
import MyNotifications from './MyNotifications';
import { mapState, mapGetters } from "vuex";
import { mapState } from "vuex";
export default {
name: "App",
@@ -99,8 +99,10 @@ export default {
...mapState([
'loading',
]),
...mapGetters([
])
// just to see all in devtool :
...mapState({
state: (state) => state,
}),
},
methods: {
selectTab(tab) {