Skip to content

Commit 10151c5

Browse files
committed
WIP Adding get system events
1 parent eedd41e commit 10151c5

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

portal/src/app/pages/dashboard/dashboard.component.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22

33

44
<mat-accordion *ngFor="let systemGroup of systemGroups" multi>
5-
<mat-expansion-panel>
5+
<mat-expansion-panel (afterExpand)="getSystem($event)">
66
<!-- Header -->
77
<mat-expansion-panel-header>
88
<mat-panel-title>
99
{{systemGroup.name}}
1010
</mat-panel-title>
1111
</mat-expansion-panel-header>
1212

13+
<mat-panel-description>
14+
15+
</mat-panel-description>
16+
1317
</mat-expansion-panel>
1418
<!--
1519
<mat-expansion-panel-header>
1620
17-
<mat-panel-description>
18-
Type your name and age
19-
<mat-icon>account_circle</mat-icon>
20-
</mat-panel-description>
21-
</mat-expansion-panel-header>
21+
2222
-->
2323
</mat-accordion>
2424
</mat-grid-list>

portal/src/app/pages/dashboard/dashboard.component.ts

+4
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ export class DashboardComponent {
1919
console.log("CALLED");
2020
this.systemGroups = await this.systemService.getSystemGroups();
2121
}
22+
23+
getSystem(event: any) {
24+
console.log(event);
25+
}
2226
}

0 commit comments

Comments
 (0)