Skip to content

Commit

Permalink
Fix theia vs online code editor
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-glombik committed Oct 12, 2024
1 parent 6992a37 commit a47e996
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ export const IS_DISPLAYED_IN_SIMPLE_MODE: InputFieldEditModeMapping = {
participationMode: false,
allowOfflineIde: false,
allowOnlineCodeEditor: false,
allowOnlineIde: false,
// TODO THEIA
allowOnlineIde: false, // refers to theia
// Language section
programmingLanguage: true,
projectType: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</label>
</div>
}
@if (ProjectType.XCODE !== programmingExerciseCreationConfig.selectedProjectType && isEditFieldDisplayedRecord().allowOnlineIde) {
@if (ProjectType.XCODE !== programmingExerciseCreationConfig.selectedProjectType && isEditFieldDisplayedRecord().allowOnlineCodeEditor) {
<div class="form-check">
<label [class]="!programmingExerciseCreationConfig.validIdeSelection() ? 'form-check-label text-danger' : 'form-check-label'" for="field_allowOnlineEditor">
<input
Expand Down

0 comments on commit a47e996

Please sign in to comment.