mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
25 lines
691 B
TypeScript
25 lines
691 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
import { NotifyInfoService } from './notify-info.service';
|
|
import { Observable, of } from 'rxjs';
|
|
|
|
@Component({
|
|
selector: 'ds-notify-info',
|
|
templateUrl: './notify-info.component.html',
|
|
styleUrls: ['./notify-info.component.scss'],
|
|
})
|
|
/**
|
|
* Component for displaying COAR notification information.
|
|
*/
|
|
export class NotifyInfoComponent implements OnInit {
|
|
/**
|
|
* Observable containing the COAR REST INBOX API URLs.
|
|
*/
|
|
coarRestApiUrl: Observable<string[]> = of([]);
|
|
|
|
constructor(private notifyInfoService: NotifyInfoService) {}
|
|
|
|
ngOnInit() {
|
|
this.coarRestApiUrl = this.notifyInfoService.getCoarLdnLocalInboxUrls();
|
|
}
|
|
}
|