mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-13 13:03:04 +00:00
[CST-5270] Finished functionalities
This commit is contained in:
@@ -94,8 +94,8 @@ export class SectionsDirective implements OnDestroy, OnInit {
|
||||
* @param {SectionsService} sectionService
|
||||
*/
|
||||
constructor(private changeDetectorRef: ChangeDetectorRef,
|
||||
private submissionService: SubmissionService,
|
||||
private sectionService: SectionsService) {
|
||||
private submissionService: SubmissionService,
|
||||
private sectionService: SectionsService) {
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -272,6 +272,19 @@ export class SectionsDirective implements OnDestroy, OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check if section is information
|
||||
*
|
||||
* @returns {Observable<boolean>}
|
||||
* Emits true whenever section is information
|
||||
*/
|
||||
public isInfo(): boolean {
|
||||
return this.sectionService.getIsInformational(this.sectionType);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Remove error from list
|
||||
*
|
||||
|
Reference in New Issue
Block a user