proximite double cartouch width for boussole #2333
This commit is contained in:
@@ -723,7 +723,7 @@ export default {
|
||||
return segments;
|
||||
},
|
||||
setPaperContour(){
|
||||
console.log('setPaperContour, this.sailentEntites', this.sailentEntites);
|
||||
// console.log('setPaperContour, this.sailentEntites', this.sailentEntites);
|
||||
// convert sailent entites to x,y points
|
||||
let points = [];
|
||||
this.sailentEntites.forEach(entite => {
|
||||
|
||||
@@ -77,16 +77,18 @@ export default {
|
||||
|
||||
// revisions
|
||||
let data=[];
|
||||
this.concernement.revisions.forEach(rev => {
|
||||
if (rev.entites.length > 3) {
|
||||
let d = new Date(rev.changed);
|
||||
data.push({
|
||||
'id': rev.revision_id,
|
||||
'changed': d.toLocaleDateString("fr-FR")
|
||||
})
|
||||
this.history_value = Math.max(this.history_value, parseInt(rev.revision_id));
|
||||
}
|
||||
});
|
||||
if (this.concernement && this.concernement.revisions) {
|
||||
this.concernement.revisions.forEach(rev => {
|
||||
if (rev.entites.length > 3) {
|
||||
let d = new Date(rev.changed);
|
||||
data.push({
|
||||
'id': rev.revision_id,
|
||||
'changed': d.toLocaleDateString("fr-FR")
|
||||
})
|
||||
this.history_value = Math.max(this.history_value, parseInt(rev.revision_id));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (data.length > 1) {
|
||||
this.history_slider_ops = {
|
||||
|
||||
Reference in New Issue
Block a user