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

fix style table & import button

parent 5248dd01
No related branches found
No related tags found
No related merge requests found
......@@ -216,12 +216,12 @@ h1 {
}
.table .row {
display: flex;
transition: background-color ease-out 0.2s;
transition: all ease-out 0.2s;
}
.table .row:not(:first-of-type).selected {
.table .row:not(.header).selected {
background-color: #8bddd9;
}
.table .row:not(:first-of-type):hover {
.table .row:not(.header):hover {
background-color: #009c95;
color: #ffffff;
cursor: pointer;
......
......@@ -101,7 +101,7 @@
class="ui icon button import-catalog"
>Créer un nouveau type de signalement à partir du catalogue Datasud
</router-link>
<div v-if="$route.params.geojson" class="ui button import-catalog">
<div v-if="$route.params.geojson" class="ui button import-catalog basic active teal">
Ressource {{$route.params.geojson.name}}
</div>
<ul v-if="importError" class="errorlist">
......@@ -337,15 +337,11 @@ export default {
if (!this.project) {
this.GET_PROJECT_INFO(this.$route.params.slug);
}
this.$store.commit("feature/SET_FEATURES", []); //* empty features remaining in case they were in geojson format and will be fetch anyway
this.$store.commit("feature/SET_FEATURES", []); //* empty remaining features in case they were in geojson format and will be fetch anyway
this.getFeatures();
// .then(res => resolve(res))
// .catch(err => reject(err));
this.SET_CURRENT_FEATURE_TYPE_SLUG(
this.$route.params.feature_type_slug
);
console.log(this.$route.params)
console.log(this.$route.params.type)
if (this.$route.params.type === "external-geojson") {
this.showImport = true;
}
......
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