diff --git a/idea/frontend/src/entities/message/helpers/helpers.ts b/idea/frontend/src/entities/message/helpers/helpers.ts index dec1bd0f56..e6c0ad5841 100644 --- a/idea/frontend/src/entities/message/helpers/helpers.ts +++ b/idea/frontend/src/entities/message/helpers/helpers.ts @@ -29,7 +29,7 @@ const getDecodedMessagePayload = (meta: ProgramMetadata, message: IMessage) => { break; } - return type ? meta.createType(type, payload) : payload; + return type !== undefined && type !== null ? meta.createType(type, payload) : payload; }; export { getDecodedMessagePayload };