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

@ -11,6 +11,7 @@
max-height: 100%;
border: solid 3px black;
vertical-align: middle;
cursor: pointer;
}
.helper {
@ -27,6 +28,7 @@
border: solid 3px black;
position: fixed;
left: 1vw;
cursor: pointer;
}
#imgFromWatchingRight {
@ -35,4 +37,5 @@
border: solid 3px black;
position: fixed;
right: 1vw;
cursor: pointer;
}

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;
}
}
}

View file

@ -27,7 +27,7 @@
<!-- Mon profil -->
<img [src]=profilService.profileImageUrl
<img [src]=profilService.getProfileImageUrl()
onerror="this.onerror=null; this.src='assets/profil.png'"
[routerLink]="routes[4]"
alt="">