Message: Hide quick reaction button when in select mode (#1715)
This commit is contained in:
parent
a22acab64a
commit
45db295c2f
@ -346,7 +346,7 @@ const Message: FC<OwnProps & StateProps> = ({
|
|||||||
));
|
));
|
||||||
|
|
||||||
const withCommentButton = threadInfo && !isInDocumentGroupNotLast && messageListType === 'thread' && !noComments;
|
const withCommentButton = threadInfo && !isInDocumentGroupNotLast && messageListType === 'thread' && !noComments;
|
||||||
const withQuickReactionButton = !IS_TOUCH_ENV && defaultReaction && !isInDocumentGroupNotLast;
|
const withQuickReactionButton = !IS_TOUCH_ENV && !isInSelectMode && defaultReaction && !isInDocumentGroupNotLast;
|
||||||
|
|
||||||
const selectMessage = useCallback((e?: React.MouseEvent<HTMLDivElement, MouseEvent>, groupedId?: string) => {
|
const selectMessage = useCallback((e?: React.MouseEvent<HTMLDivElement, MouseEvent>, groupedId?: string) => {
|
||||||
toggleMessageSelection({
|
toggleMessageSelection({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user