Skip to content

Commit

Permalink
Merge pull request #421 from sunbird-cb/mandatory-courses
Browse files Browse the repository at this point in the history
Mandatory courses
  • Loading branch information
christyfernandes authored May 25, 2022
2 parents 3f83970 + 88fe899 commit 38bbaf4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@
[routerLink]="resumeData ? resumeDataLink?.url : firstResourceLink?.url"
[queryParams]="resumeData ? generateQuery('RESUME') : generateQuery('START')"
class="mat-button mat-button-base resumeButton custom-button width-1-1 text-white">
<ng-container *ngIf="content.completionPercentage < 100">

<ng-container *ngIf="!content.completionPercentage || content.completionPercentage < 100">
<ng-container *ngIf="!forPreview || isInIFrame; else authView" i18n>
{{resumeData? "Resume" : "Start"}}
</ng-container>
Expand Down Expand Up @@ -180,7 +181,7 @@
<!-- <ng-container *ngIf="!forPreview || isInIFrame; else authView" i18n>
{{resumeData? "Resume" : "Start"}}
</ng-container> -->
<ng-container *ngIf="content.completionPercentage < 100">
<ng-container *ngIf="!content.completionPercentage || content.completionPercentage < 100">
<ng-container *ngIf="!forPreview || isInIFrame; else authView" i18n>
{{resumeData? "Resume" : "Start"}}
</ng-container>
Expand Down

0 comments on commit 38bbaf4

Please sign in to comment.