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() {
let index = this.getCurrentDayIndex();
return this.listeNombreAstral[index].nombreAstral;
if (this.listeNombreAstral)
{
let index = this.getCurrentDayIndex();
return this.listeNombreAstral[index].nombreAstral;
}
return '?';
}
/* -------------------------------------------- */