Skip to content
Snippets Groups Projects
Commit 7286b001 authored by Scott Berg's avatar Scott Berg Committed by Scott Berg
Browse files

Update new audit dialog to submit user data rather than being hard coded.

parent 67f4b37a
No related branches found
No related tags found
No related merge requests found
......@@ -62,14 +62,16 @@ export class DARSViewComponent implements OnInit {
this.dialog
.open<any, any, NewDegreeAuditFields>(NewDegreeAuditDialogComponent)
.afterClosed()
.subscribe(event =>
this.store.dispatch(
new StartSendingAudit({
darsInstitutionCode: 'L&S',
darsDegreeProgramCode: 'BA 608',
}),
),
);
.subscribe(event => {
if (event) {
return this.store.dispatch(
new StartSendingAudit({
darsInstitutionCode: event.darsInstitutionCode,
darsDegreeProgramCode: event.darsDegreeProgramCode,
}),
);
}
});
}
public openWhatIfAuditDialog() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment