mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
24 lines
738 B
TypeScript
24 lines
738 B
TypeScript
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
import { ServerResponseService } from '../core/services/server-response.service';
|
|
|
|
/**
|
|
* This component representing the `PageInternalServer` DSpace page.
|
|
*/
|
|
@Component({
|
|
selector: 'ds-page-internal-server-error',
|
|
styleUrls: ['./page-internal-server-error.component.scss'],
|
|
templateUrl: './page-internal-server-error.component.html',
|
|
changeDetection: ChangeDetectionStrategy.Default
|
|
})
|
|
export class PageInternalServerErrorComponent {
|
|
|
|
/**
|
|
* Initialize instance variables
|
|
*
|
|
* @param {ServerResponseService} responseService
|
|
*/
|
|
constructor(private responseService: ServerResponseService) {
|
|
this.responseService.setInternalServerError();
|
|
}
|
|
}
|