Skip to content

Commit b9244bb

Browse files
committed
Set the isReview require attribute in order to create the ad-hoc template.
1 parent 4f35e49 commit b9244bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web-ui/src/components/feedback_template_selector/FeedbackTemplateSelector.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ const FeedbackTemplateSelector = ({ query, changeQuery }) => {
9696
creatorId: currentUserId,
9797
active: true,
9898
isAdHoc: true,
99-
isPublic: false
99+
isPublic: false,
100+
isReview: false,
100101
};
101102

102103
const newTemplateQuestion = {
@@ -187,6 +188,7 @@ const FeedbackTemplateSelector = ({ query, changeQuery }) => {
187188
description={template.description}
188189
isAdHoc={template.isAdHoc}
189190
isPublic={template.isPublic}
191+
isReview={template.isReview}
190192
isSelected={query === template.id}
191193
questions={template.questions}
192194
expanded={preview.open}

0 commit comments

Comments
 (0)