From f3b575c2c4503c43be863ccb95b8f52a587cc65a Mon Sep 17 00:00:00 2001 From: Ovidijus Parsiunas Date: Fri, 13 Sep 2024 20:23:22 +0900 Subject: [PATCH] allowing multiple intro messages --- component/src/webModel/webModel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/src/webModel/webModel.ts b/component/src/webModel/webModel.ts index 9f43bb51a..3c3e15a5e 100644 --- a/component/src/webModel/webModel.ts +++ b/component/src/webModel/webModel.ts @@ -86,7 +86,7 @@ export class WebModel extends BaseServiceIO { } } - private shouldAddIntroMessage(customIntroMessage?: IntroMessage) { + private shouldAddIntroMessage(customIntroMessage?: IntroMessage | IntroMessage[]) { return !customIntroMessage && this._webModel && this._webModel.introMessage?.displayed !== false; }