Skip to content

Commit c262dcf

Browse files
committed
fix: use async pipe with closeLabel
Signed-off-by: Akshat Patel <[email protected]>
1 parent 9b4d7f5 commit c262dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/notification/toast.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import { BaseNotification } from "./base-notification.component";
3737
*ngIf="!isCloseHidden"
3838
class="cds--toast-notification__close-button"
3939
type="button"
40-
[attr.aria-label]="notificationObj.closeLabel"
40+
[attr.aria-label]="notificationObj.closeLabel | async"
4141
(click)="onClose()">
4242
<svg cdsIcon="close" size="16" class="cds--toast-notification__close-icon"></svg>
4343
</button>

0 commit comments

Comments
 (0)