Loading package.json +1 −1 Original line number Diff line number Diff line { "name": "@chauveau/vue-jama", "version": "0.3.32", "version": "0.3.33", "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", Loading src/store/JamaStore.js +5 −1 Original line number Diff line number Diff line Loading @@ -406,7 +406,11 @@ export default new Vuex.Store({ */ async fetchStats(context) { if (context.getters.currentCollection) { context.commit('setCurrentStats', await JamaRPClient.collectionStats(context.getters.currentCollection.id)) const queryCollId = context.getters.currentCollection.id; JamaRPClient.collectionStats(context.getters.currentCollection.id).then((res) => { if(queryCollId === context.getters.currentCollection.id) context.commit('setCurrentStats', res) }) } else { context.commit('setCurrentStats', await JamaRPClient.projectStats(context.getters.currentProjectId)); context.commit('setCurrentRootCollectionId', context.getters.currentStats.project_root_collection_id); Loading Loading
package.json +1 −1 Original line number Diff line number Diff line { "name": "@chauveau/vue-jama", "version": "0.3.32", "version": "0.3.33", "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", Loading
src/store/JamaStore.js +5 −1 Original line number Diff line number Diff line Loading @@ -406,7 +406,11 @@ export default new Vuex.Store({ */ async fetchStats(context) { if (context.getters.currentCollection) { context.commit('setCurrentStats', await JamaRPClient.collectionStats(context.getters.currentCollection.id)) const queryCollId = context.getters.currentCollection.id; JamaRPClient.collectionStats(context.getters.currentCollection.id).then((res) => { if(queryCollId === context.getters.currentCollection.id) context.commit('setCurrentStats', res) }) } else { context.commit('setCurrentStats', await JamaRPClient.projectStats(context.getters.currentProjectId)); context.commit('setCurrentRootCollectionId', context.getters.currentStats.project_root_collection_id); Loading