mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
Fix broken Storybook: Change ng-template to ng-container for ngIf and rename icon directive (#4816)
* remove added template for ngIf and rename icon directive * fix regression in product switcher * fix text color of bulk delete in org vault * use ng-container for *ngIf
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
@fadeIn
|
||||
>
|
||||
<div class="tw-flex tw-flex-col tw-items-center tw-gap-2 tw-px-4 tw-pt-4 tw-text-center">
|
||||
<ng-template *ngIf="hasIcon; else elseBlock">
|
||||
<ng-content select="[bit-dialog-icon]"></ng-content>
|
||||
</ng-template>
|
||||
<ng-container *ngIf="hasIcon; else elseBlock">
|
||||
<ng-content select="[bitDialogIcon]"></ng-content>
|
||||
</ng-container>
|
||||
<ng-template #elseBlock>
|
||||
<i class="bwi bwi-exclamation-triangle tw-text-3xl tw-text-warning" aria-hidden="true"></i>
|
||||
</ng-template>
|
||||
|
||||
Reference in New Issue
Block a user