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

add loader

parent bf6e4536
No related branches found
No related tags found
4 merge requests!295Version 3.0.0,!247REDMINE_ISSUE-12787,!245REDMINE_ISSUE-12786,!233REDMINE_ISSUE-12378
......@@ -20,8 +20,7 @@
'row',
{
selected:
selectedResource &&
resource.layer === selectedResource.layer,
selectedResource && resource.layer === selectedResource.layer,
},
]"
>
......@@ -191,10 +190,12 @@ export default {
},
mounted() {
this.$store.commit("DISPLAY_LOADER", "Interrogation du catologue datasud.");
this.$store.dispatch("GET_PROJECT_INFO", this.$route.params.slug);
miscAPI
.getIdgoCatalog()
.then((data) => (this.ressources = data.layers));
miscAPI.getIdgoCatalog().then((data) => {
this.$store.commit("DISCARD_LOADER");
this.ressources = data.layers;
});
},
};
</script>
......
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