fix - nombre astral inconnu

This commit is contained in:
Vincent Vandemeulebrouck 2020-12-11 02:31:58 +01:00
parent 0d3c005550
commit ec82c5baf6

View File

@ -95,8 +95,12 @@ export class RdDCalendrier extends Application {
/* -------------------------------------------- */ /* -------------------------------------------- */
getCurrentNombreAstral() { getCurrentNombreAstral() {
let index = this.getCurrentDayIndex(); if (this.listeNombreAstral)
return this.listeNombreAstral[index].nombreAstral; {
let index = this.getCurrentDayIndex();
return this.listeNombreAstral[index].nombreAstral;
}
return '?';
} }
/* -------------------------------------------- */ /* -------------------------------------------- */