From dcf2a7855071b052136fcf7872beb48ebcae5e1b Mon Sep 17 00:00:00 2001 From: Julien Schneider Date: Mon, 6 May 2024 11:50:26 +0200 Subject: [PATCH] fix --- .../resource/properties/resource-toolbar/resource-toolbar.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/dsp-app/src/app/workspace/resource/properties/resource-toolbar/resource-toolbar.ts b/apps/dsp-app/src/app/workspace/resource/properties/resource-toolbar/resource-toolbar.ts index 028bc015ed..fc10868c7e 100644 --- a/apps/dsp-app/src/app/workspace/resource/properties/resource-toolbar/resource-toolbar.ts +++ b/apps/dsp-app/src/app/workspace/resource/properties/resource-toolbar/resource-toolbar.ts @@ -99,7 +99,9 @@ export class ResourceToolbarComponent implements OnInit { editResourceLabel() { this._dialog - .open(EditResourceLabelDialogComponent) + .open(EditResourceLabelDialogComponent, { + data: { resource: this.resource.res }, + }) .afterClosed() .pipe(filter(answer => !!answer)) .subscribe(answer => {