mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
91131: Added parent constructor to ThemedLoadingComponent
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Component, Input } from '@angular/core';
|
||||
import { ThemedComponent } from '../../shared/theme-support/themed.component';
|
||||
import { Component, Input, ComponentFactoryResolver, ChangeDetectorRef } from '@angular/core';
|
||||
import { ThemedComponent } from '../theme-support/themed.component';
|
||||
import { LoadingComponent } from './loading.component';
|
||||
import { ThemeService } from '../theme-support/theme.service';
|
||||
|
||||
/**
|
||||
* Themed wrapper for LoadingComponent
|
||||
@@ -17,6 +18,14 @@ export class ThemedLoadingComponent extends ThemedComponent<LoadingComponent> {
|
||||
|
||||
protected inAndOutputNames: (keyof LoadingComponent & keyof this)[] = ['message', 'showMessage'];
|
||||
|
||||
constructor(
|
||||
protected resolver: ComponentFactoryResolver,
|
||||
protected cdr: ChangeDetectorRef,
|
||||
protected themeService: ThemeService
|
||||
) {
|
||||
super(resolver, cdr, themeService);
|
||||
}
|
||||
|
||||
protected getComponentName(): string {
|
||||
return 'LoadingComponent';
|
||||
}
|
||||
|
Reference in New Issue
Block a user