Skip to content
Snippets Groups Projects
Verified Commit 11e53062 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #13483 hide category after filtered in privilege administration

parent 391e4f9f
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@
style="padding-left:20px;padding-right:20px;font-size: 11px;">
<input matInput placeholder="{{lang.filterBy}}" #listFilter>
</mat-form-field>
<mat-expansion-panel *ngFor="let unit of unitPrivileges | sortBy: 'label'" expanded>
<mat-expansion-panel *ngFor="let unit of unitPrivileges | sortBy: 'label'" expanded [class.emptyExpansionPanel]="(unit.services | filterList:listFilter.value:'label').length == 0">
<mat-expansion-panel-header>
<mat-panel-title>
{{unit.label}}
......
......@@ -7,4 +7,8 @@ textarea.mat-input-element {
.active {
color: $secondary;
}
.emptyExpansionPanel {
height: 0px
}
\ No newline at end of file
......@@ -80,14 +80,15 @@
align-items: center;
display: flex;
justify-content: center;
font-size: 20px;
font-size: 30px;
background: $primary;
border-radius: 40px;
padding: 10px;
width: 45px !important;
height: 45px !important;
width: 55px !important;
height: 55px !important;
}
.countLabel {
color: $primary;
font-size: 16px;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment