Commits

Giuseppe Digilio authored 5ff7b8c58b9
[DURACOM-191] Remove my-dspace-page.module and fix missing imports
No tags

src/app/core/submission/submission-duplicate-data.service.ts

Modified
27 27
28 28 /**
29 29 * Service that handles search requests for potential duplicate items.
30 30 * This uses the /api/submission/duplicates endpoint to look for other archived or in-progress items (if user
31 31 * has READ permission) that match the item (for the given uuid).
32 32 * Matching is configured in the backend in dspace/config/modulesduplicate-detection.cfg
33 33 * The returned results are small preview 'stubs' of items, and displayed in either a submission section
34 34 * or the workflow pooled/claimed task page.
35 35 *
36 36 */
37 -@Injectable()
37 +@Injectable({ providedIn: 'root' })
38 38 @dataService(DUPLICATE)
39 39 export class SubmissionDuplicateDataService extends BaseDataService<Duplicate> implements SearchData<Duplicate> {
40 40
41 41 /**
42 42 * The ResponseParsingService constructor name
43 43 */
44 44 private parser: GenericConstructor<ResponseParsingService> = SearchResponseParsingService;
45 45
46 46 /**
47 47 * The RestRequest constructor name

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

Add shortcut