This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new 482c5a127 [hotfix] Fix MDC layout issue in permission dialog (#1834)
482c5a127 is described below
commit 482c5a12773f0d196183e0b096077402188564ef
Author: Dominik Riemer <[email protected]>
AuthorDate: Sun Aug 20 19:23:38 2023 +0200
[hotfix] Fix MDC layout issue in permission dialog (#1834)
---
.../object-permission-dialog.component.html | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git
a/ui/src/app/core-ui/object-permission-dialog/object-permission-dialog.component.html
b/ui/src/app/core-ui/object-permission-dialog/object-permission-dialog.component.html
index 777c7093a..a33906c48 100644
---
a/ui/src/app/core-ui/object-permission-dialog/object-permission-dialog.component.html
+++
b/ui/src/app/core-ui/object-permission-dialog/object-permission-dialog.component.html
@@ -45,8 +45,8 @@
<span class="general-options-header">Users</span>
<mat-form-field class="example-chip-list" color="accent">
<mat-label>Authorized Users</mat-label>
- <mat-chip-list #chipList aria-label="User selection">
- <mat-chip
+ <mat-chip-grid #chipList aria-label="User selection">
+ <mat-chip-row
*ngFor="let user of grantedUserAuthorities"
selectable="true"
removable="true"
@@ -56,7 +56,7 @@
<button matChipRemove>
<mat-icon>cancel</mat-icon>
</button>
- </mat-chip>
+ </mat-chip-row>
<input
placeholder="Add"
#userInput
@@ -68,7 +68,7 @@
"
(matChipInputTokenEnd)="addUser($event)"
/>
- </mat-chip-list>
+ </mat-chip-grid>
<mat-autocomplete
#auto="matAutocomplete"
(optionSelected)="userSelected($event)"
@@ -90,8 +90,8 @@
<span class="general-options-header">Groups</span>
<mat-form-field class="example-chip-list" color="accent">
<mat-label>Authorized Groups</mat-label>
- <mat-chip-list #chipList aria-label="Group selection">
- <mat-chip
+ <mat-chip-grid #chipList aria-label="Group selection">
+ <mat-chip-row
*ngFor="let group of grantedGroupAuthorities"
selectable="true"
removable="true"
@@ -101,7 +101,7 @@
<button matChipRemove>
<mat-icon>cancel</mat-icon>
</button>
- </mat-chip>
+ </mat-chip-row>
<input
placeholder="Add"
#groupInput
@@ -113,7 +113,7 @@
"
(matChipInputTokenEnd)="addGroup($event)"
/>
- </mat-chip-list>
+ </mat-chip-grid>
<mat-autocomplete
#auto="matAutocomplete"
(optionSelected)="groupSelected($event)"