status / assignee updates

This commit is contained in:
Timo Bejan 2021-11-23 12:14:11 +02:00
parent f34b6ce743
commit 249c9bbd5e

View File

@ -100,6 +100,14 @@ export class AssignReviewerApproverDialogComponent {
async save() {
this._loadingService.start();
try {
if (!this.selectedUser) {
await this._filesService
.setUnassigned(
this.data.files.map(f => f.fileId),
this.dossier.id,
)
.toPromise();
}
if (this.data.mode === 'reviewer') {
await this._filesService
.setReviewerFor(