From 2c06b02f7c5766037334c79091dc7debdfbe3e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Sat, 2 Jul 2022 10:37:27 +0200 Subject: [PATCH] Dismiss the search dialogue when starting a DM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/components/views/dialogs/spotlight/SpotlightDialog.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/views/dialogs/spotlight/SpotlightDialog.tsx b/src/components/views/dialogs/spotlight/SpotlightDialog.tsx index f633ca66ddb..0bdb5b1cc9c 100644 --- a/src/components/views/dialogs/spotlight/SpotlightDialog.tsx +++ b/src/components/views/dialogs/spotlight/SpotlightDialog.tsx @@ -529,6 +529,7 @@ const SpotlightDialog: React.FC = ({ initialText = "", initialFilter = n key={`${Section[result.section]}-${result.member.userId}`} onClick={() => { startDm(cli, [result.member]); + onFinished(); }} >