Skip to content

Commit

Permalink
fix(ui5-notification-list): corrects misusage of ui5-toast
Browse files Browse the repository at this point in the history
The sample in the playground used toast.show() method
which was deprecated and this resulted in the ui5-toast
not showing in the playground sample

Fixes: #10526
  • Loading branch information
kskondov committed Jan 22, 2025
1 parent 7c45756 commit b464182
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ notificationList.addEventListener("item-close", e => {

menuWithActions.addEventListener("ui5-item-click", function(event) {
wcToast.textContent = "Menu button '" + event.detail.text + "' pressed" + " on Notification List Item with id '" + event.target.parentElement.id + "'.";
wcToast.show();
wcToast.open = true;
});

0 comments on commit b464182

Please sign in to comment.