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 => {