Skip to content

Commit

Permalink
dynamic ID
Browse files Browse the repository at this point in the history
  • Loading branch information
jacver committed Apr 12, 2024
1 parent 57f02bc commit 38df04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/messages/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import { Subscription, timer } from 'rxjs';
role="alert"
[@messageAnimation]="{ value: 'visible', params: { showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions } }"
>
<div class="p-message-wrapper" [attr.data-pc-section]="'wrapper'">
<div class="p-message-wrapper" [attr.data-pc-section]="'wrapper'" [attr.id]="msg.id || null">
<span *ngIf="msg.icon" [class]="'p-message-icon pi ' + msg.icon" [attr.data-pc-section]="'icon'"> </span>
<span class="p-message-icon" *ngIf="!msg.icon">
<ng-container>
Expand Down

0 comments on commit 38df04c

Please sign in to comment.