diff --git a/frontend/src/app/assignment/modules/edit-assignment/edit-assignment/edit-assignment.component.html b/frontend/src/app/assignment/modules/edit-assignment/edit-assignment/edit-assignment.component.html index 15ca1244..fe1ffc7a 100644 --- a/frontend/src/app/assignment/modules/edit-assignment/edit-assignment/edit-assignment.component.html +++ b/frontend/src/app/assignment/modules/edit-assignment/edit-assignment/edit-assignment.component.html @@ -1,6 +1,6 @@

- {{$any(context.assignment)?._id ? 'Edit' : 'Create'}} + {{ context.assignment?.['_id'] ? 'Edit' : 'Create' }} Assignment

@@ -8,7 +8,7 @@

Cancel - @if (context.assignment['_id']) { + @if (context.assignment?.['_id']) { View Diff @@ -19,11 +19,9 @@

}

- @if (context.assignment) { - - } +