Fixes create quiz button state on empty input

parent 58a60148
Pipeline #17957 passed with stages
in 8 minutes and 53 seconds
......@@ -84,9 +84,9 @@
<button *ngIf="!canEditQuiz && !isAddingDemoQuiz && !isAddingABCDQuiz"
class="btn btn-success btn-block pointer"
[class.disabled]="passwordRequired && !serverPassword.length"
(click)="handleClick('addSession') && setAsCurrentQuiz(['/quiz', 'manager', 'overview'])"
[disabled]="passwordRequired && !serverPassword.length">
<span class="mr-1">{{'component.hashtag_management.create_session' | translate}}</span>
<i class="fas fa-edit"></i>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment