From a2cda31f1a985a6c7380c9d8872bba58eaa74231 Mon Sep 17 00:00:00 2001 From: Beaudan Brown Date: Mon, 2 Sep 2019 16:56:34 +1000 Subject: [PATCH] Remove delete option from more info --- background.html | 1 - test/index.html | 1 - ts/components/conversation/MessageDetail.tsx | 18 ++++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/background.html b/background.html index 045cbdad8..28aaadb9f 100644 --- a/background.html +++ b/background.html @@ -659,7 +659,6 @@ - diff --git a/test/index.html b/test/index.html index 5ebafa95f..9c7524a88 100644 --- a/test/index.html +++ b/test/index.html @@ -530,7 +530,6 @@ - diff --git a/ts/components/conversation/MessageDetail.tsx b/ts/components/conversation/MessageDetail.tsx index 91baec0ce..1a18a780a 100644 --- a/ts/components/conversation/MessageDetail.tsx +++ b/ts/components/conversation/MessageDetail.tsx @@ -57,14 +57,16 @@ export class MessageDetail extends React.Component { const { i18n, message } = this.props; return ( -
- -
+ message.isDeletable ? ( +
+ +
+ ) : null ); }