Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
derschnee68 committed May 6, 2024
1 parent dcf2a78 commit 475dce7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class DeleteResourceDialogComponent {
const payload = new DeleteResource();
payload.id = this.data.resource.res.id;
payload.type = this.data.resource.res.type;
payload.deleteComment = this.comment ?? '';
payload.deleteComment = this.comment ?? undefined;
payload.lastModificationDate = this.data.lastModificationDate;
this._dspApiConnection.v2.res.deleteResource(payload).subscribe(response => {
this._dialogRef.close(response as DeleteResourceResponse);
Expand Down

0 comments on commit 475dce7

Please sign in to comment.