mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +00:00
Lint errors.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Component, Input, OnInit } from '@angular/core';
|
||||
import { Component, Input, OnDestroy, OnInit } from '@angular/core';
|
||||
|
||||
import { BehaviorSubject, combineLatest as observableCombineLatest } from 'rxjs';
|
||||
|
||||
@@ -19,7 +19,7 @@ import { switchMap } from 'rxjs/operators';
|
||||
templateUrl: './community-page-sub-collection-list.component.html',
|
||||
animations:[fadeIn]
|
||||
})
|
||||
export class CommunityPageSubCollectionListComponent implements OnInit {
|
||||
export class CommunityPageSubCollectionListComponent implements OnInit, OnDestroy {
|
||||
@Input() community: Community;
|
||||
|
||||
/**
|
||||
|
@@ -9,14 +9,14 @@ import { Community } from '../../core/shared/community.model';
|
||||
templateUrl: '../../shared/theme-support/themed.component.html',
|
||||
})
|
||||
export class ThemedCollectionPageSubCollectionListComponent extends ThemedComponent<CommunityPageSubCollectionListComponent> {
|
||||
protected getComponentName(): string {
|
||||
return 'CommunityPageSubCollectionListComponent';
|
||||
}
|
||||
|
||||
@Input() community: Community;
|
||||
@Input() pageSize: number;
|
||||
protected inAndOutputNames: (keyof CommunityPageSubCollectionListComponent & keyof this)[] = ['community', 'pageSize'];
|
||||
|
||||
protected getComponentName(): string {
|
||||
return 'CommunityPageSubCollectionListComponent';
|
||||
}
|
||||
|
||||
protected importThemedComponent(themeName: string): Promise<any> {
|
||||
return import(`../../../themes/${themeName}/app/community-page/sub-community-list/community-page-sub-collection-list.component`);
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Component, Input, OnInit } from '@angular/core';
|
||||
import { Component, Input, OnDestroy, OnInit } from '@angular/core';
|
||||
|
||||
import { BehaviorSubject, combineLatest as observableCombineLatest } from 'rxjs';
|
||||
|
||||
@@ -14,7 +14,7 @@ import { switchMap } from 'rxjs/operators';
|
||||
import { PaginationService } from '../../core/pagination/pagination.service';
|
||||
|
||||
@Component({
|
||||
selector: ' ',
|
||||
selector: 'ds-community-page-sub-community-list',
|
||||
styleUrls: ['./community-page-sub-community-list.component.scss'],
|
||||
templateUrl: './community-page-sub-community-list.component.html',
|
||||
animations: [fadeIn]
|
||||
@@ -22,11 +22,11 @@ import { PaginationService } from '../../core/pagination/pagination.service';
|
||||
/**
|
||||
* Component to render the sub-communities of a Community
|
||||
*/
|
||||
export class CommunityPageSubCommunityListComponent implements OnInit {
|
||||
export class CommunityPageSubCommunityListComponent implements OnInit, OnDestroy {
|
||||
@Input() community: Community;
|
||||
|
||||
/**
|
||||
* Optional page size (defaults to 5)
|
||||
* Optional page size (defaults to 5).
|
||||
*/
|
||||
@Input() pageSize: number;
|
||||
|
||||
|
@@ -9,14 +9,15 @@ import { Community } from '../../core/shared/community.model';
|
||||
templateUrl: '../../shared/theme-support/themed.component.html',
|
||||
})
|
||||
export class ThemedCommunityPageSubCommunityListComponent extends ThemedComponent<CommunityPageSubCommunityListComponent> {
|
||||
protected getComponentName(): string {
|
||||
return 'CommunityPageSubCommunityListComponent';
|
||||
}
|
||||
|
||||
@Input() community: Community;
|
||||
@Input() pageSize: number;
|
||||
protected inAndOutputNames: (keyof CommunityPageSubCommunityListComponent & keyof this)[] = ['community', 'pageSize'];
|
||||
|
||||
protected getComponentName(): string {
|
||||
return 'CommunityPageSubCommunityListComponent';
|
||||
}
|
||||
|
||||
protected importThemedComponent(themeName: string): Promise<any> {
|
||||
return import(`../../../themes/${themeName}/app/community-page/sub-community-list/community-page-sub-community-list.component`);
|
||||
}
|
||||
|
Reference in New Issue
Block a user