MOBILE-4708 quiz: Fix sync warning with empty text

main
Pau Ferrer Ocaña 2024-11-25 10:02:05 +01:00
parent f39d4a9240
commit e48cd9a3f7
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
<!-- Activity info. -->
<core-course-module-info [module]="module" [description]="description" [component]="component" [componentId]="componentId"
[courseId]="courseId" [hasDataToSync]="buttonText && hasOffline" (completionChanged)="onCompletionChange()" />
[courseId]="courseId" [hasDataToSync]="!!buttonText && hasOffline" (completionChanged)="onCompletionChange()" />
<!-- Access rules description messages. -->
<ion-card *ngIf="gradeMethodReadable || accessRules.length || syncTime">