Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(apps): Adds a toast message dispatcher to the apps #30171

Closed
wants to merge 10 commits into from
8 changes: 8 additions & 0 deletions apps/meteor/app/ui-message/client/ActionManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ export const handlePayloadUserInteraction = (type, { /* appId,*/ triggerId, ...d
return;
}

if ([UIKitInteractionTypes.TOAST_MESSAGE].includes(type)) {
const { toast } = data;

dispatchToastMessage(toast);

return UIKitInteractionTypes.TOAST_MESSAGE;
}

const { view } = data;
let { viewId } = data;

Expand Down
Loading