mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 10:34:15 +00:00
fix lint
This commit is contained in:
@@ -2,10 +2,10 @@ import { Component, Inject, OnInit } from '@angular/core';
|
|||||||
import { SEARCH_CONFIG_SERVICE } from '../../../../my-dspace-page/my-dspace-page.component';
|
import { SEARCH_CONFIG_SERVICE } from '../../../../my-dspace-page/my-dspace-page.component';
|
||||||
import { Context } from '../../../../core/shared/context.model';
|
import { Context } from '../../../../core/shared/context.model';
|
||||||
import { SearchConfigurationService } from '../../../../core/shared/search/search-configuration.service';
|
import { SearchConfigurationService } from '../../../../core/shared/search/search-configuration.service';
|
||||||
import { Observable } from "rxjs";
|
import { Observable } from 'rxjs';
|
||||||
import { map, tap } from "rxjs/operators";
|
import { tap } from 'rxjs/operators';
|
||||||
import { ActivatedRoute, ActivatedRouteSnapshot, Router } from "@angular/router";
|
import { ActivatedRoute, ActivatedRouteSnapshot, Router } from '@angular/router';
|
||||||
import { ViewMode } from "../../../../core/shared/view-mode.model";
|
import { ViewMode } from '../../../../core/shared/view-mode.model';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@@ -33,7 +33,7 @@ export class AdminNotifyIncomingComponent implements OnInit{
|
|||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.selectedSearchConfig$ = this.searchConfigService.getCurrentConfiguration(this.defaultConfiguration).pipe(
|
this.selectedSearchConfig$ = this.searchConfigService.getCurrentConfiguration(this.defaultConfiguration).pipe(
|
||||||
tap(() => this.isLoading = false)
|
tap(() => this.isLoading = false)
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public resetDefaultConfiguration() {
|
public resetDefaultConfiguration() {
|
||||||
@@ -42,7 +42,7 @@ export class AdminNotifyIncomingComponent implements OnInit{
|
|||||||
configuration: this.defaultConfiguration,
|
configuration: this.defaultConfiguration,
|
||||||
view: ViewMode.Table
|
view: ViewMode.Table
|
||||||
},
|
},
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -2,10 +2,10 @@ import { Component, Inject } from '@angular/core';
|
|||||||
import { SEARCH_CONFIG_SERVICE } from '../../../../my-dspace-page/my-dspace-page.component';
|
import { SEARCH_CONFIG_SERVICE } from '../../../../my-dspace-page/my-dspace-page.component';
|
||||||
import { Context } from '../../../../core/shared/context.model';
|
import { Context } from '../../../../core/shared/context.model';
|
||||||
import { SearchConfigurationService } from '../../../../core/shared/search/search-configuration.service';
|
import { SearchConfigurationService } from '../../../../core/shared/search/search-configuration.service';
|
||||||
import { Observable } from "rxjs";
|
import { Observable } from 'rxjs';
|
||||||
import { ActivatedRoute, ActivatedRouteSnapshot, Router } from "@angular/router";
|
import { ActivatedRoute, ActivatedRouteSnapshot, Router } from '@angular/router';
|
||||||
import { ViewMode } from "../../../../core/shared/view-mode.model";
|
import { ViewMode } from '../../../../core/shared/view-mode.model';
|
||||||
import { tap } from "rxjs/operators";
|
import { tap } from 'rxjs/operators';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@@ -33,7 +33,7 @@ export class AdminNotifyOutgoingComponent {
|
|||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.selectedSearchConfig$ = this.searchConfigService.getCurrentConfiguration(this.defaultConfiguration).pipe(
|
this.selectedSearchConfig$ = this.searchConfigService.getCurrentConfiguration(this.defaultConfiguration).pipe(
|
||||||
tap(() => this.isLoading = false)
|
tap(() => this.isLoading = false)
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public resetDefaultConfiguration() {
|
public resetDefaultConfiguration() {
|
||||||
@@ -42,7 +42,7 @@ export class AdminNotifyOutgoingComponent {
|
|||||||
configuration: this.defaultConfiguration,
|
configuration: this.defaultConfiguration,
|
||||||
view: ViewMode.Table
|
view: ViewMode.Table
|
||||||
},
|
},
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import { Component, Input, OnInit } from '@angular/core';
|
import { Component, Input } from '@angular/core';
|
||||||
import { AdminNotifyMetricsRow } from './admin-notify-metrics.model';
|
import { AdminNotifyMetricsRow } from './admin-notify-metrics.model';
|
||||||
import { ActivatedRoute, Router } from "@angular/router";
|
import { Router } from '@angular/router';
|
||||||
import { ViewMode } from "../../../core/shared/view-mode.model";
|
import { ViewMode } from '../../../core/shared/view-mode.model';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-admin-notify-metrics',
|
selector: 'ds-admin-notify-metrics',
|
||||||
@@ -29,6 +29,6 @@ export class AdminNotifyMetricsComponent {
|
|||||||
configuration: searchConfig,
|
configuration: searchConfig,
|
||||||
view: ViewMode.Table
|
view: ViewMode.Table
|
||||||
},
|
},
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user