Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
irmastnt committed Apr 8, 2024
1 parent 69260ef commit 0e3c628
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 0e3c628

Please sign in to comment.