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,9 +95,13 @@ export class RdDCalendrier extends Application {
/* -------------------------------------------- */ /* -------------------------------------------- */
getCurrentNombreAstral() { getCurrentNombreAstral() {
if (this.listeNombreAstral)
{
let index = this.getCurrentDayIndex(); let index = this.getCurrentDayIndex();
return this.listeNombreAstral[index].nombreAstral; return this.listeNombreAstral[index].nombreAstral;
} }
return '?';
}
/* -------------------------------------------- */ /* -------------------------------------------- */
rebuildListeNombreAstral() { rebuildListeNombreAstral() {