From 0e3c628eeb9bb0f6bcb0a22d2b85f5b20345baba Mon Sep 17 00:00:00 2001 From: Irmantas Kaukas Date: Mon, 8 Apr 2024 15:09:22 +0200 Subject: [PATCH] fix: linting --- .../resource/properties/resource-toolbar/resource-toolbar.ts | 2 +- apps/dsp-app/src/app/workspace/resource/resource.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 371dfe7bce..df0bc4fb95 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 @@ -35,9 +35,9 @@ import { ToggleShowAllCommentsAction, ToggleShowAllPropsAction, } from '@dasch-swiss/vre/shared/app-state'; -import { ConfirmationWithComment, DialogComponent } from '@dsp-app/src/app/main/dialog/dialog.component'; import { Select, Store } from '@ngxs/store'; import { Observable } from 'rxjs'; +import { ConfirmationWithComment, DialogComponent } from '../../../../main/dialog/dialog.component'; import { DspResource } from '../../dsp-resource'; import { ResourceService } from '../../services/resource.service'; diff --git a/apps/dsp-app/src/app/workspace/resource/resource.component.ts b/apps/dsp-app/src/app/workspace/resource/resource.component.ts index 970817d7ff..0e11514428 100644 --- a/apps/dsp-app/src/app/workspace/resource/resource.component.ts +++ b/apps/dsp-app/src/app/workspace/resource/resource.component.ts @@ -459,7 +459,7 @@ export class ResourceComponent implements OnChanges, OnDestroy { resourceClassLabel = (resource: DspResource): string => resource.res.entityInfo?.classes[resource.res.type].label; resourceLabel = (incomingResource: DspResource, resource: DspResource): string => - incomingResource ? resource.res.label + ': ' + incomingResource.res.label : resource.res.label; + incomingResource ? `${resource.res.label}: ${incomingResource.res.label}` : resource.res.label; openProject(project: ReadProject) { window.open(`${RouteConstants.projectRelative}/${ProjectService.IriToUuid(project.id)}`, '_blank');