Skip to content

Commit 5445b6e

Browse files
committed
Adds array support on list-card component. Fixes bug when the facebook likes are not in the profile info list
1 parent f4bfb4a commit 5445b6e

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

src/app/app.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class AppConfig {
3333
}
3434

3535
export const configuration: AppConfig = {
36-
version: '3.7.1.1',
36+
version: '3.7.1.2',
3737
name: 'RumpelStaging',
3838
tokenApp: 'hatappstaging',
3939
tokenExpiryTime: 3,

src/app/explore/hat-application-details/hat-application-details.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ <h5 class="app-details-heading">Screenshots</h5>
6363

6464
<rum-list-card *ngIf="appInformation"
6565
[title]="'Information'"
66-
[listData]="appInformation"
66+
[listData]="[appInformation]"
6767
[expandable]="true"></rum-list-card>
6868
</mat-tab>
6969

7070
<mat-tab label="Data Preview">
7171
<ng-container *ngIf="staticData$ | async as staticData">
7272
<div *ngIf="staticData[0]" style="margin-bottom: 60px;">
73-
<rum-list-card [title]="'Profile information'" [listData]="staticData[0]"></rum-list-card>
73+
<rum-list-card [title]="'Profile information'" [listData]="staticData"></rum-list-card>
7474
</div>
7575
</ng-container>
7676

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<mat-card [class.expandable]="expandable">
2-
<h5 class="app-details-heading">Profile information</h5>
2+
<h5 class="app-details-heading">{{title}}</h5>
33
<mat-list class="app-static-data-list">
4-
<mat-list-item *ngFor="let prop of listData" class="app-static-data-list-item">
5-
<span class="app-static-data-list-key">{{ prop[0] | replaceCamelCase | replaceChars }}</span>
6-
<span class="flex-spacer"></span>
7-
<div class="app-static-data-list-value" [innerHTML]="prop[1] | safeHtml:true"></div>
8-
</mat-list-item>
4+
<ng-container *ngFor="let rowData of listData">
5+
<mat-list-item *ngFor="let prop of rowData" class="app-static-data-list-item">
6+
<span class="app-static-data-list-key">{{ prop[0] | replaceCamelCase | replaceChars }}</span>
7+
<span class="flex-spacer"></span>
8+
<div class="app-static-data-list-value" [innerHTML]="prop[1] | safeHtml:true"></div>
9+
</mat-list-item>
10+
</ng-container>
911
</mat-list>
1012
</mat-card>

src/app/user/login-native/login-native.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
}
8181

8282
.title-hat-domain-wrapper {
83-
padding-left: 20px;
84-
padding-right: 20px;
83+
padding-left: 5px;
84+
padding-right: 5px;
8585
text-align: center;
8686
vertical-align: middle;
8787
}

0 commit comments

Comments
 (0)