chore(ui): clear eslint control flow bucket
Convert the remaining audit log template ngIf directives to built-in control flow so the template follows the configured Angular control-flow style. Validation: just ui lint
This commit is contained in:
@@ -43,13 +43,14 @@
|
|||||||
[showButtonBar]="true"
|
[showButtonBar]="true"
|
||||||
class="date-range-filter">
|
class="date-range-filter">
|
||||||
</p-datepicker>
|
</p-datepicker>
|
||||||
<button
|
@if (hasActiveFilters) {
|
||||||
*ngIf="hasActiveFilters"
|
<button
|
||||||
(click)="clearAllFilters()"
|
(click)="clearAllFilters()"
|
||||||
class="icon-btn clear-btn"
|
class="icon-btn clear-btn"
|
||||||
[title]="t('clearFilters')">
|
[title]="t('clearFilters')">
|
||||||
<i class="pi pi-filter-slash"></i>
|
<i class="pi pi-filter-slash"></i>
|
||||||
</button>
|
</button>
|
||||||
|
}
|
||||||
<button
|
<button
|
||||||
(click)="toggleAutoRefresh()"
|
(click)="toggleAutoRefresh()"
|
||||||
class="icon-btn refresh-btn"
|
class="icon-btn refresh-btn"
|
||||||
@@ -101,7 +102,9 @@
|
|||||||
{{ log.description }}
|
{{ log.description }}
|
||||||
</td>
|
</td>
|
||||||
<td class="ip-cell">
|
<td class="ip-cell">
|
||||||
<span *ngIf="log.countryCode" class="flag-emoji">{{ countryCodeToFlag(log.countryCode) }}</span>
|
@if (log.countryCode) {
|
||||||
|
<span class="flag-emoji">{{ countryCodeToFlag(log.countryCode) }}</span>
|
||||||
|
}
|
||||||
{{ log.ipAddress || '—' }}
|
{{ log.ipAddress || '—' }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user