From b154b847b15f9c9771509b70c11ff8fef140006c Mon Sep 17 00:00:00 2001 From: Aleksandr Grigorev Date: Sat, 17 Jun 2023 09:18:43 +0300 Subject: [PATCH] Fix: show channel input when selecting remind to channel Closes #10 --- src/classes/ExecuteBlockAction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/ExecuteBlockAction.ts b/src/classes/ExecuteBlockAction.ts index d742c29..09e9e7f 100644 --- a/src/classes/ExecuteBlockAction.ts +++ b/src/classes/ExecuteBlockAction.ts @@ -32,7 +32,7 @@ export class ExecuteBlockAction { switch (actionId) { case 'targetType': { - const refMsgId = container.id.split('--')[2]; + const refMsgId = container.id.split('--')[2] || ''; const refMsg = await this.read.getMessageReader().getById(refMsgId); const modal = await reminderCreate({