Commit 167f6d5c authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

Merge branch 'md/fix-project-select' into 'master'

fix bug with project select

See merge request certic/vue-jama!11
parents 055888fe d4544227
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -376,6 +376,9 @@ export default {
    currentProjectId() {
      if(!this.currentProjectId)
        return;
      if(this.currentCollection){
        this.$store.commit('setCurrentCollection', null)
      }
      this.$store.dispatch('fetchStats').then(() => {
        if(this.$store.getters.currentStats.project_root_collection_id) {
            this.$store.commit('setCurrentRootCollectionId', this.$store.getters.currentStats.project_root_collection_id);