Skip to content
Snippets Groups Projects
Commit a5834ff7 authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA :bicyclist:
Browse files

Merge branch 'REDMINE-ISSUES/12614' into 'develop'

REDMINE_ISSUES-12614

See merge request !181
parents 61408f75 e4ccab21
No related branches found
No related tags found
No related merge requests found
......@@ -258,7 +258,7 @@ export default {
(el) => el.slug === this.$route.params.feature_type_slug
);
}
return null;
return {};
},
feature_type_features: function () {
......@@ -392,19 +392,21 @@ export default {
}
}
},
// watch:{
// 'feature_type_features'(newValue){
// console.log(newValue)
// if (newValue){
// this.featuresLoading = false;
// }
// }
// },
watch:{
'structure'(newValue){
console.log(newValue)
if (newValue){
this.$store.dispatch("feature_type/GET_IMPORTS", this.structure.slug);
}
}
},
created() {
if (!this.project) {
this.$store.dispatch("GET_PROJECT_INFO", this.$route.params.slug);
}
this.$store.dispatch("feature_type/GET_IMPORTS", this.structure.slug);
// if (this.structure) {
// this.$store.dispatch("feature_type/GET_IMPORTS", this.structure.slug);
// }
this.setCurrentFeatureTypeSlug();
// .then(res => resolve(res))
// .catch(err => reject(err));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment