Skip to content
Snippets Groups Projects
Commit afd0d325 authored by Timothee P's avatar Timothee P :sunflower:
Browse files

rotate icon

parent f4ab59ee
No related branches found
No related tags found
2 merge requests!254version 2.3.2,!253REDMINE_ISSUE-12824
......@@ -320,10 +320,6 @@ export default {
watch:{
structure(newValue){
if (newValue.slug){
this.reloadingImport = true;
setTimeout(() => {
this.reloadingImport = false;
}, 1000);
this.GET_IMPORTS({
feature_type: this.$route.params.feature_type_slug
})
......@@ -335,9 +331,14 @@ export default {
handler(newValue) {
if (newValue && newValue.some(el => el.status === 'pending')) {
setTimeout(() => {
this.reloadingImport = true;
this.GET_IMPORTS({
feature_type: this.$route.params.feature_type_slug
});
}).then(()=> {
setTimeout(() => {
this.reloadingImport = false;
}, 1000);
})
}, this.$store.state.configuration.VUE_APP_RELOAD_INTERVAL);
}
}
......
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