Fix: aucune méditation connue
Cas de haut-rêvant ne connaissant pas de méditations
This commit is contained in:
@@ -173,10 +173,10 @@ export class RdDTimestamp {
|
||||
}
|
||||
filtered = DEFINITION_HEURES.filter(it => Grammar.toLowerCaseNoAccentNoSpace(it.label).includes(heure));
|
||||
if (filtered.length > 0) {
|
||||
filtered.sort(Misc.ascending(h => h.label.length));
|
||||
filtered.sort(Misc.ascending(h => h.label.length))
|
||||
return filtered[0]
|
||||
}
|
||||
return undefined;
|
||||
return undefined
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user