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:
James Cox
2026-04-22 17:26:48 -04:00
committed by Zach Yale
parent eba9688112
commit ac6b44e64e
@@ -43,13 +43,14 @@
[showButtonBar]="true"
class="date-range-filter">
</p-datepicker>
<button
*ngIf="hasActiveFilters"
(click)="clearAllFilters()"
class="icon-btn clear-btn"
[title]="t('clearFilters')">
<i class="pi pi-filter-slash"></i>
</button>
@if (hasActiveFilters) {
<button
(click)="clearAllFilters()"
class="icon-btn clear-btn"
[title]="t('clearFilters')">
<i class="pi pi-filter-slash"></i>
</button>
}
<button
(click)="toggleAutoRefresh()"
class="icon-btn refresh-btn"
@@ -101,7 +102,9 @@
{{ log.description }}
</td>
<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 || '—' }}
</td>
</tr>