From 81fcf57dfc0a268ae358fdf65d3a426db6d8397b Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Wed, 25 Oct 2023 19:47:47 +0300 Subject: [PATCH] rename question type to item type --- .../QuestionsDropDownToolGroupService/DropDownComponent.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wax-questions-service/src/QuestionsDropDownToolGroupService/DropDownComponent.js b/wax-questions-service/src/QuestionsDropDownToolGroupService/DropDownComponent.js index a58b93166..5b667cb76 100644 --- a/wax-questions-service/src/QuestionsDropDownToolGroupService/DropDownComponent.js +++ b/wax-questions-service/src/QuestionsDropDownToolGroupService/DropDownComponent.js @@ -122,13 +122,13 @@ const DropDownComponent = ({ view, tools }) => { const [isOpen, setIsOpen] = useState(false); useOnClickOutside(wrapperRef, () => setIsOpen(false)); - const [label, setLabel] = useState('Question Type'); + const [label, setLabel] = useState('Item Type'); const isEditable = main.props.editable(editable => { return editable; }); useEffect(() => { - setLabel('Question Type'); + setLabel('Item Type'); dropDownOptions.forEach(option => { if (option.item.active(main.state)) { setLabel(option.label); @@ -213,7 +213,7 @@ const DropDownComponent = ({ view, tools }) => { <span>{label}</span> <StyledIcon name="expand" /> </DropDownButton> <DropDownMenu - aria-label="Choose a question type" + aria-label="Choose an item type" id="questions-list" isOpen={isOpen} role="menu" -- GitLab