FlorianEisenmenger il y a 1 jour
Parent
révision
16e6fe90c8
2 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. +2
    -0
      httpdocs/assets/scripts/statistics.js
  2. +1
    -1
      httpdocs/assets/styles/sections/_statistics.scss

+ 2
- 0
httpdocs/assets/scripts/statistics.js Voir le fichier

@@ -217,6 +217,8 @@ function applyThreshold(items, metric) {
}
}

visible.sort((a, b) => b.value - a.value);

if (restValue > 0) {
visible.push({ name: t('rest'), value: restValue, color: REST_COLOR });
}


+ 1
- 1
httpdocs/assets/styles/sections/_statistics.scss Voir le fichier

@@ -174,7 +174,7 @@
.statistics-donut__wrap {
position: relative;
width: 100%;
max-width: 200px;
max-width: 280px;
aspect-ratio: 1;
}



Chargement…
Annuler
Enregistrer