Skip to content
Snippets Groups Projects
Commit b1951aa9 authored by mathias.chouet's avatar mathias.chouet
Browse files

Use TypeScript's "Optional Chaining" syntax

parent 6b6a5ca6
No related branches found
No related tags found
2 merge requests!108Resolve "Simplifier les composants de résultats",!93Resolve "Ajout du module Prébarrage"
......@@ -34,7 +34,7 @@ export class LogComponent {
}
public get hasEntries(): boolean {
return this._log?.messages?.length > 0;
return this._log?.messages?.length !== 0;
}
public get messages(): Message[] {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment