status / assignee updates
This commit is contained in:
parent
249c9bbd5e
commit
1f97d0a104
@ -363,11 +363,7 @@ export class ConfigService {
|
||||
|
||||
private _unassignFn = async (file: File) => {
|
||||
this._loadingService.start();
|
||||
if (file.isUnderReview) {
|
||||
await this._filesService.setReviewerFor([file.fileId], file.dossierId, null).toPromise();
|
||||
} else if (file.isUnderApproval) {
|
||||
await this._filesService.setUnderApprovalFor([file.fileId], file.dossierId, null).toPromise();
|
||||
}
|
||||
await this._filesService.setUnassigned([file.fileId], file.dossierId).toPromise();
|
||||
this._loadingService.stop();
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user