Commits

Alexandre Vryghem authored 60d93e653fa
113938: Added missing comcol structure to workspace/workflow item breadcrumbs
No tags

src/app/core/submission/resolver/submission-links-to-follow.ts

Added
1 +import { followLink, FollowLinkConfig } from '../../../shared/utils/follow-link-config.model';
2 +import { WorkflowItem } from '../models/workflowitem.model';
3 +import { WorkspaceItem } from '../models/workspaceitem.model';
4 +
5 +/**
6 + * The self links defined in this list are expected to be requested somewhere in the near future
7 + * Requesting them as embeds will limit the number of requests
8 + *
9 + * Needs to be in a separate file to prevent circular dependencies in webpack.
10 + */
11 +export const SUBMISSION_LINKS_TO_FOLLOW: FollowLinkConfig<WorkflowItem | WorkspaceItem>[] = [
12 + followLink('item'),
13 + followLink('collection'),
14 +];

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut