Skip to content

Commit

Permalink
Merge pull request #649 from OpenEnergyDashboard/huss
Browse files Browse the repository at this point in the history
minor fixes
  • Loading branch information
huss authored Aug 26, 2021
2 parents e4e712e + 17f2a41 commit 9064d39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/app/containers/MultiCompareChartContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function sortIDs(ids: CompareEntity[], sortingOrder: SortingOrder): CompareEntit
return 0;
});
break;
case SortingOrder.Descending:
case SortingOrder.Ascending:
ids.sort((a, b) => {
if (a.change < b.change) {
return -1;
Expand All @@ -140,7 +140,7 @@ function sortIDs(ids: CompareEntity[], sortingOrder: SortingOrder): CompareEntit
return 0;
});
break;
case SortingOrder.Ascending:
case SortingOrder.Descending:
ids.sort((a, b) => {
if (a.change > b.change) {
return -1;
Expand Down
3 changes: 3 additions & 0 deletions src/client/app/translations/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
"help.meters.meterview": "This page shows information on meters. Please visit {link} for further details and information.",
"hide": "Hide",
"hide.options": "Hide options",
"hide.options.in.link": "Hide menu in link",
"home": "Home",
"import.meter.readings": "Import Meter Readings",
"info": " for more information. ",
Expand Down Expand Up @@ -325,6 +326,7 @@
"help.meters.meterview": "(Need French) This page shows information on meters. Please visit {link} for further details and information.",
"hide": "Cacher",
"hide.options": "Options de quai",
"hide.options.in.link": "(Need French) Hide menu in link",
"home": "Accueil",
"import.meter.readings": "Importer des Relevés de Mètres",
"info": " pour plus d'informations. ",
Expand Down Expand Up @@ -542,6 +544,7 @@
"help.meters.meterview": "(Need Spanish) This page shows information on meters. Please visit {link} for further details and information.",
"hide": "Ocultar",
"hide.options": "Opciones de muelle",
"hide.options.in.link": "(Need Spanish) Hide menu in link",
"home": "Hogar",
"import.meter.readings": "Importar lecturas del medidor",
"info": " para obtener más información. ",
Expand Down

0 comments on commit 9064d39

Please sign in to comment.