MOBILE-2453 assign: Fix group submission

main
Albert Gasset 2018-06-29 11:29:00 +02:00
parent ef20b3c3dd
commit fea044d1d5
2 changed files with 1 additions and 5 deletions

View File

@ -110,7 +110,7 @@
<!-- Team members that need to submit it too. -->
<ion-item text-wrap *ngIf="membersToSubmit && membersToSubmit.length > 0">
<h2>{{ 'addon.mod_assign.userswhoneedtosubmit' | translate }}</h2>
<h2>{{ 'addon.mod_assign.userswhoneedtosubmit' | translate: {$a: ''} }}</h2>
<div *ngFor="let user of membersToSubmit">
<a *ngIf="user.fullname" (click)="openUserProfile(user.id)" [title]="user.fullname">
<ion-avatar item-start>

View File

@ -910,10 +910,6 @@ export class AddonModAssignSubmissionComponent implements OnInit, OnDestroy {
}));
}
});
response.lastattempt.submissiongroupmemberswhoneedtosubmitblind.forEach((member) => {
this.membersToSubmit.push(member);
});
}
}