mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +00:00
Merge branch 'main' into task/main/CST-15591
This commit is contained in:
@@ -7,6 +7,7 @@ import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
Inject,
|
||||
OnInit,
|
||||
} from '@angular/core';
|
||||
import {
|
||||
TranslateModule,
|
||||
@@ -48,7 +49,7 @@ import { SectionsService } from '../sections.service';
|
||||
standalone: true,
|
||||
})
|
||||
|
||||
export class SubmissionSectionDuplicatesComponent extends SectionModelComponent {
|
||||
export class SubmissionSectionDuplicatesComponent extends SectionModelComponent implements OnInit {
|
||||
protected readonly Metadata = Metadata;
|
||||
/**
|
||||
* The Alert categories.
|
||||
|
@@ -7,6 +7,7 @@ import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
Inject,
|
||||
OnInit,
|
||||
} from '@angular/core';
|
||||
import {
|
||||
TranslateModule,
|
||||
@@ -47,7 +48,7 @@ import { SectionsService } from '../sections.service';
|
||||
standalone: true,
|
||||
})
|
||||
|
||||
export class SubmissionSectionIdentifiersComponent extends SectionModelComponent {
|
||||
export class SubmissionSectionIdentifiersComponent extends SectionModelComponent implements OnInit {
|
||||
/**
|
||||
* The Alert categories.
|
||||
* @type {AlertType}
|
||||
@@ -76,7 +77,6 @@ export class SubmissionSectionIdentifiersComponent extends SectionModelComponent
|
||||
/**
|
||||
* Initialize instance variables.
|
||||
*
|
||||
* @param {PaginationService} paginationService
|
||||
* @param {TranslateService} translate
|
||||
* @param {SectionsService} sectionService
|
||||
* @param {SubmissionService} submissionService
|
||||
@@ -93,7 +93,7 @@ export class SubmissionSectionIdentifiersComponent extends SectionModelComponent
|
||||
super(injectedCollectionId, injectedSectionData, injectedSubmissionId);
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
ngOnInit(): void {
|
||||
super.ngOnInit();
|
||||
}
|
||||
|
||||
|
@@ -135,7 +135,7 @@ export class SubmissionSectionCoarNotifyComponent extends SectionModelComponent
|
||||
|
||||
/**
|
||||
* Method called when section is initialized
|
||||
* Retriev available NotifyConfigs
|
||||
* Retrieve available NotifyConfigs
|
||||
*/
|
||||
setCoarNotifyConfig() {
|
||||
this.subs.push(
|
||||
|
@@ -124,7 +124,7 @@ export class SectionsService {
|
||||
});
|
||||
});
|
||||
|
||||
// Itereate over the previous error list
|
||||
// Iterate over the previous error list
|
||||
prevErrors.forEach((error: SubmissionSectionError) => {
|
||||
const errorPaths: SectionErrorPath[] = parseSectionErrorPaths(error.path);
|
||||
|
||||
|
@@ -11,7 +11,7 @@ import { TranslateModule } from '@ngx-translate/core';
|
||||
import { Metadata } from '../../../../core/submission/models/sherpa-policies-details.model';
|
||||
|
||||
/**
|
||||
* This component represents a section that contains the matadata informations.
|
||||
* This component represents a section that contains the metadata information.
|
||||
*/
|
||||
@Component({
|
||||
selector: 'ds-metadata-information',
|
||||
|
@@ -14,7 +14,7 @@ import { AlertType } from '../../../../shared/alert/alert-type';
|
||||
import { ContentAccordionComponent } from '../content-accordion/content-accordion.component';
|
||||
|
||||
/**
|
||||
* This component represents a section that contains the publisher policy informations.
|
||||
* This component represents a section that contains the publisher policy information.
|
||||
*/
|
||||
@Component({
|
||||
selector: 'ds-publisher-policy',
|
||||
|
@@ -35,7 +35,7 @@ import { PublicationInformationComponent } from './publication-information/publi
|
||||
import { PublisherPolicyComponent } from './publisher-policy/publisher-policy.component';
|
||||
|
||||
/**
|
||||
* This component represents a section for the sherpa policy informations structure.
|
||||
* This component represents a section for the sherpa policy information structure.
|
||||
*/
|
||||
@Component({
|
||||
selector: 'ds-section-sherpa-policies',
|
||||
|
Reference in New Issue
Block a user