Skip to content

Commit ef1d994

Browse files
Merge branch 'w2p-138644_process-scheduling-ui-9.0' into w2p-138644_process-scheduling-ui-main
2 parents 3862e37 + cf925b4 commit ef1d994

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/app/process-page/form/process-form.component.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ export class ProcessFormComponent implements OnInit {
125125
const content = this.translationService.get('process.new.notification.success.content');
126126
this.notificationsService.success(title, content);
127127
this.sendBack(rd.payload);
128+
} else if (rd.statusCode === 422) {
129+
const title = this.translationService.get('process.new.notification.error.title');
130+
this.notificationsService.error(title, rd.errorMessage, undefined, true);
128131
} else {
129132
const title = this.translationService.get('process.new.notification.error.title');
130133
const content = this.translationService.get('process.new.notification.error.content');

0 commit comments

Comments
 (0)