correction de tous les bugs niveaux 1 (faibles)

This commit is contained in:
MiharyR 2021-12-16 13:45:05 +01:00
parent b5bb8e7cc4
commit f2ced83246
26 changed files with 53 additions and 38 deletions

View file

@ -32,7 +32,9 @@ export class AdvertComponent implements OnChanges
onClick(): void
{
if(this.ad.url !== "") document.location.href = this.ad.url;
if((this.ad.url !== "") && (this.ad.url !== null) && (this.ad.url !== undefined)) {
document.location.href = this.ad.url;
}
}
}