mirror of
https://github.com/ArenMg/aren.git
synced 2024-11-21 16:10: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">
|
||||
<img
|
||||
id="mapImg"
|
||||
:src="debate.document.mapLink"
|
||||
:src="debate?.document?.mapLink"
|
||||
alt="map image"
|
||||
/>
|
||||
<table id="myTable" v-if="debate">
|
||||
|
@ -116,11 +116,11 @@ table {
|
|||
border-collapse: collapse;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
#mapContainer {
|
||||
position: relative;
|
||||
height: 50%;
|
||||
}
|
||||
#mapImg {
|
||||
width: 100%;
|
||||
|
@ -134,8 +134,6 @@ table {
|
|||
module.exports = {
|
||||
data() {
|
||||
return {
|
||||
//nbOfLines: 5,
|
||||
//nbOfColumns: 9,
|
||||
arrayData: false,
|
||||
// ********************************
|
||||
|
||||
|
|
|
@ -60,7 +60,9 @@
|
|||
query: categoryId ? {category: categoryId, overview: true} : {overview: true},
|
||||
onSuccess: debates => debates.forEach(d => {
|
||||
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"
|
||||
>
|
||||
<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"
|
||||
>
|
||||
<div class="card-image light-color valign-wrapper">
|
||||
|
|
Loading…
Reference in a new issue