Merge pull request #4578 from matrix-org/t3chguy/topic_dialog
Fix topic dialog not supporting escape as it didn't have a "Close"
This commit is contained in:
commit
998b661796
1 changed files with 1 additions and 0 deletions
|
@ -366,6 +366,7 @@ export const Commands = [
|
|||
Modal.createTrackedDialog('Slash Commands', 'Topic', InfoDialog, {
|
||||
title: room.name,
|
||||
description: <div dangerouslySetInnerHTML={{ __html: topicHtml }} />,
|
||||
hasCloseButton: true,
|
||||
});
|
||||
return success();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue