From 3e3d537fecb3a989a120ca9372795dc594278970 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 12 May 2020 10:51:27 +0100 Subject: [PATCH] Fix topic dialog not supporting escape as it didn't have a "Close" Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/SlashCommands.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SlashCommands.tsx b/src/SlashCommands.tsx index bd7e60e2f4..0ea068d389 100644 --- a/src/SlashCommands.tsx +++ b/src/SlashCommands.tsx @@ -365,6 +365,7 @@ export const Commands = [ Modal.createTrackedDialog('Slash Commands', 'Topic', InfoDialog, { title: room.name, description:
, + hasCloseButton: true, }); return success(); },