[Monitor | Trunk]: Fix badge stakeholder, missing in some cases

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor@60010 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
Konstantinos Triantafyllou 2020-12-02 09:00:42 +00:00
parent 5f1ff48381
commit 69f2912287
2 changed files with 6 additions and 0 deletions

View File

@ -199,6 +199,11 @@
</a> </a>
<a *ngIf="!directLink" (click)="confirmModalOpen(stakeholder)"> <a *ngIf="!directLink" (click)="confirmModalOpen(stakeholder)">
<div class="uk-card uk-card-default uk-text-center"> <div class="uk-card uk-card-default uk-text-center">
<div *ngIf="stakeholder.visibility && stakeholder.visibility !== 'PUBLIC'"
class="uk-position-top-right uk-margin-top uk-margin-right uk-flex uk-flex-middle">
<icon [name]="visibilityIcon.get(stakeholder.visibility)"></icon>
<span class="space uk-text-small uk-text-capitalize">{{stakeholder.visibility.toLowerCase()}}</span>
</div>
<img *ngIf="stakeholder.logoUrl" class="uk-margin-auto" [src]="stakeholder.logoUrl"> <img *ngIf="stakeholder.logoUrl" class="uk-margin-auto" [src]="stakeholder.logoUrl">
<div class="uk-text-light uk-margin-medium-top">{{stakeholder.name}}</div> <div class="uk-text-light uk-margin-medium-top">{{stakeholder.name}}</div>
</div> </div>

View File

@ -248,6 +248,7 @@ export class HomeComponent {
this.status = this.errorCodes.NONE; this.status = this.errorCodes.NONE;
} else { } else {
this.stakeholders = stakeholders; this.stakeholders = stakeholders;
console.debug(stakeholders);
} }
this.loading = false; this.loading = false;
}, },