mirror of
https://github.com/ArenMg/aren.git
synced 2024-11-22 00:20:52 +00:00
debat sur carte taille maillages
This commit is contained in:
parent
85c001950a
commit
6a41c25c57
3 changed files with 6 additions and 6 deletions
|
@ -21,7 +21,7 @@
|
||||||
<div id="mapContainer">
|
<div id="mapContainer">
|
||||||
<img
|
<img
|
||||||
id="mapImg"
|
id="mapImg"
|
||||||
:src="debate.document.mapLink"
|
:src="debate?.document?.mapLink"
|
||||||
alt="map image"
|
alt="map image"
|
||||||
/>
|
/>
|
||||||
<table id="myTable" v-if="debate">
|
<table id="myTable" v-if="debate">
|
||||||
|
@ -116,11 +116,11 @@ table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
#mapContainer {
|
#mapContainer {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
height: 50%;
|
||||||
}
|
}
|
||||||
#mapImg {
|
#mapImg {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -134,8 +134,6 @@ table {
|
||||||
module.exports = {
|
module.exports = {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
//nbOfLines: 5,
|
|
||||||
//nbOfColumns: 9,
|
|
||||||
arrayData: false,
|
arrayData: false,
|
||||||
// ********************************
|
// ********************************
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,9 @@
|
||||||
query: categoryId ? {category: categoryId, overview: true} : {overview: true},
|
query: categoryId ? {category: categoryId, overview: true} : {overview: true},
|
||||||
onSuccess: debates => debates.forEach(d => {
|
onSuccess: debates => debates.forEach(d => {
|
||||||
if (!this.categories.includes(d.document.category)) {
|
if (!this.categories.includes(d.document.category)) {
|
||||||
this.categories.push(d.document.category)
|
if(!(d.document.category.is("CARTO"))){
|
||||||
|
this.categories.push(d.document.category);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
class="col"
|
class="col"
|
||||||
>
|
>
|
||||||
<router-link
|
<router-link
|
||||||
v-bind:to="'/debates?category=' + category.id"
|
v-bind:to="`${category.is('CARTO') ? '/debats-sur-cartes?category=' + category.id : '/debates?category=' + category.id }`"
|
||||||
class="card hoverable center-align"
|
class="card hoverable center-align"
|
||||||
>
|
>
|
||||||
<div class="card-image light-color valign-wrapper">
|
<div class="card-image light-color valign-wrapper">
|
||||||
|
|
Loading…
Reference in a new issue