various stuff

This commit is contained in:
2023-02-27 19:59:43 +01:00
parent bd1b4fb655
commit 66da69a57a
6 changed files with 105 additions and 28 deletions

View File

@@ -10,12 +10,12 @@
}
.size-medium {
width: 602px;
height: 502px;
height: 402px;
}
</style>
<div class="dashboard-card" [ngClass]="{'size-medium' : data.size=='MEDIUM'}">
<mat-spinner *ngIf="!thumbnailUrl && !isError"></mat-spinner>
<img *ngIf="thumbnailUrl" src="{{thumbnailUrl}}" />
<div class="dashboard-card" [ngClass]="{'size-medium' : data.widget.size=='MEDIUM'}">
<mat-spinner *ngIf="!data.plotResponse?.imageUrl && !isError"></mat-spinner>
<img *ngIf="data.plotResponse?.imageUrl" src="{{data.plotResponse?.imageUrl}}" />
<div *ngIf="isError">
There was an error! This is a good time to panic!
</div>