Skip to content

Commit f41fb78

Browse files
committed
fix client test as admin passes
1 parent 05e4ae9 commit f41fb78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/webapp/app/core/course/manage/update/course-update.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ <h4 class="form-group" jhiTranslate="artemisApp.course.form.sections.general"></
7272
<label class="form-control-label" jhiTranslate="artemisApp.course.description" for="field_description"></label>
7373
<textarea id="field_description" class="form-control" rows="2" formControlName="description" [(ngModel)]="course.description"></textarea>
7474
</div>
75-
<div *jhiHasAnyAuthority="'ROLE_ADMIN'">
75+
@if (isAdmin) {
7676
<div class="form-group">
7777
<label class="form-control-label" jhiTranslate="artemisApp.course.organizations"></label>
7878
<div class="btn-group d-flex flex-wrap">
@@ -91,7 +91,7 @@ <h5>
9191
</div>
9292
<button id="addOrganizationButton" type="button" class="btn btn-outline-primary" (click)="openOrganizationsModal()">Add</button>
9393
</div>
94-
</div>
94+
}
9595
<div class="row g-2">
9696
<div class="form-group col-md">
9797
<jhi-date-time-picker

0 commit comments

Comments
 (0)