@osfarm/itineraire-technique 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,13 +13,13 @@ class RotationRenderer {
13
13
  if (Array.isArray(rotationData)) {
14
14
  this.hasTimeline = true;
15
15
  rotationData = rotationData.map((item) => {
16
- return this.fixRotationData(item);
16
+ this.fixRotationData(item);
17
17
  });
18
18
  this.chartOptions = rotationData[0].options;
19
19
  }
20
20
  else {
21
21
  this.hasTimeline = false;
22
- rotationData = this.fixRotationData(rotationData);
22
+ this.fixRotationData(rotationData);
23
23
  this.chartOptions = rotationData.options;
24
24
  }
25
25
 
@@ -925,8 +925,4 @@ class RotationRenderer {
925
925
  }
926
926
  }
927
927
 
928
-
929
- // Les mois ne sont pas bien affichés
930
- // Les dates ne correspondent pas à la rotation (2023 ???)
931
- // Les trous dans la rotation ne sont pas affichés correctement
932
-
928
+ window.RotationRenderer = RotationRenderer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osfarm/itineraire-technique",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "A visualisation tool to show agricultural technical itineraries based on Echarts",
5
5
  "main": "editor.html",
6
6
  "scripts": {