Skip to content

Commit bd8be5f

Browse files
ZCU-PUB/bg-color bootstrap error
1 parent b496166 commit bd8be5f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/themes/custom/app/home-page/top-level-community-list/top-level-community-list.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
<div *ngIf="communitiesRD?.hasSucceeded ">
33
<div class="row" *ngVar="(communitiesRedirect | async) as communities">
44
<div class="col-md-4 custom-col-md-4 jumbotron d-flex align-items-center justify-content-center"
5-
[ngStyle]="{'backgroundColor': community.bgColor}"
5+
[ngStyle]="{'backgroundColor': community?.bgColor}"
66
*ngFor="let community of communities">
7-
<a [routerLink]="getCommunityPageRoute(community.uuid)"
7+
<a [routerLink]="getCommunityPageRoute(community?.uuid)"
88
class="align-text-bottom text-decoration-none"
9-
[ngStyle]="{'color': community.textColor}">
9+
[ngStyle]="{'color': community?.textColor}">
1010
<div class="main-topics text-center">
11-
<h1>{{community.name | uppercase}}</h1>
11+
<h1>{{community?.name | uppercase}}</h1>
1212
</div>
1313
</a>
1414
</div>

0 commit comments

Comments
 (0)