Added user management for groups. Improved user experience slightly. Added some error checks for request acks.
This commit is contained in:
@@ -1,6 +1,19 @@
|
||||
<div>
|
||||
<h2>{{group?.name}}</h2>
|
||||
|
||||
@if (!isSpecialGroup) {
|
||||
<mat-expansion-panel>
|
||||
<mat-expansion-panel-header>
|
||||
<mat-panel-title>Users</mat-panel-title>
|
||||
<mat-panel-description class="muted">
|
||||
{{chatters.length}} user{{chatters.length == 1 ? '' : 's'}}
|
||||
</mat-panel-description>
|
||||
</mat-expansion-panel-header>
|
||||
<twitch-user-list [twitchUsers]="chatters"
|
||||
[group]="group" />
|
||||
</mat-expansion-panel>
|
||||
}
|
||||
|
||||
<mat-expansion-panel>
|
||||
<mat-expansion-panel-header>
|
||||
<mat-panel-title>Policies</mat-panel-title>
|
||||
@@ -12,9 +25,7 @@
|
||||
[groups]="groups"
|
||||
[policies]="policies"
|
||||
[group]="group?.id" />
|
||||
@if (policies.length > 0) {
|
||||
<policy-table [policies]="policies" />
|
||||
}
|
||||
</mat-expansion-panel>
|
||||
|
||||
<mat-expansion-panel>
|
||||
|
||||
Reference in New Issue
Block a user