From 751946a5eb71961752cbcaffb9ec1c92b06cf79b Mon Sep 17 00:00:00 2001 From: Niqui O'Neill Date: Mon, 30 Nov 2020 14:26:25 -0800 Subject: [PATCH] update dropdown widget --- src/editor/widgets/comment/Comment.jsx | 4 ++-- src/editor/widgets/comment/CommentWidget.jsx | 4 ++-- .../comment/{TypeDropdown.jsx => PurposeDropdown.jsx} | 4 ++-- themes/default/editor/_editor.scss | 5 +++++ 4 files changed, 11 insertions(+), 6 deletions(-) rename src/editor/widgets/comment/{TypeDropdown.jsx => PurposeDropdown.jsx} (91%) diff --git a/src/editor/widgets/comment/Comment.jsx b/src/editor/widgets/comment/Comment.jsx index 9745091..ef48757 100644 --- a/src/editor/widgets/comment/Comment.jsx +++ b/src/editor/widgets/comment/Comment.jsx @@ -3,7 +3,7 @@ import { useState } from 'preact/hooks'; import TimeAgo from 'timeago-react'; import DropdownMenu from './DropdownMenu'; import TextEntryField from './TextEntryField'; -import TypeDropdown from './TypeDropdown'; +import PurposeDropdown from './PurposeDropdown'; import { ChevronDownIcon } from '../../../Icons'; import i18n from '../../../i18n'; @@ -58,7 +58,7 @@ const Comment = props => { /> { creatorInfo } { props.purpose == true && - { onSaveAndClose={() => props.onSaveAndClose()} /> { props.purpose == true && draftReply.value.length > 0 && - +