Skip to content

Commit 270c323

Browse files
authored
Mission editing update (#486)
* Update GlobalDeploymentTab.tsx nicer symbol editing * nicer buttons * made local deployment and added globals editing * yarn format * minor bug fix
1 parent 59b1a44 commit 270c323

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/incubator/EditingWorkspace.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ class AssessmentWorkspace extends React.Component<AssessmentWorkspaceProps, ISta
188188
const question = this.state.assessment!.questions[questionId];
189189
const library =
190190
question.library.chapter === -1
191-
? question.library
192-
: this.state.assessment!.globalDeployment!;
191+
? this.state.assessment!.globalDeployment!
192+
: question.library;
193193
const editorValue =
194194
question.type === QuestionTypes.programming
195195
? question.answer !== null

0 commit comments

Comments
 (0)