mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Refactor code
This commit is contained in:
parent
7534a634c2
commit
6882209e3c
2 changed files with 1 additions and 4 deletions
|
@ -6,7 +6,6 @@ import { debounceTime, distinctUntilChanged } from "rxjs/operators";
|
||||||
|
|
||||||
import { AuthService } from "../auth/auth.service";
|
import { AuthService } from "../auth/auth.service";
|
||||||
import { FilterType, IFilter, IIssueCategory, IMovieRequests, IPagenator, IRadarrProfile, IRadarrRootFolder, OrderType } from "../interfaces";
|
import { FilterType, IFilter, IIssueCategory, IMovieRequests, IPagenator, IRadarrProfile, IRadarrRootFolder, OrderType } from "../interfaces";
|
||||||
import { IRemainingRequests } from "../interfaces/IRemainingRequests";
|
|
||||||
import { NotificationService, RadarrService, RequestService } from "../services";
|
import { NotificationService, RadarrService, RequestService } from "../services";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -39,8 +38,6 @@ export class MovieRequestsComponent implements OnInit {
|
||||||
public orderType: OrderType = OrderType.RequestedDateDesc;
|
public orderType: OrderType = OrderType.RequestedDateDesc;
|
||||||
public OrderType = OrderType;
|
public OrderType = OrderType;
|
||||||
|
|
||||||
public remaining: IRemainingRequests;
|
|
||||||
|
|
||||||
public totalMovies: number = 100;
|
public totalMovies: number = 100;
|
||||||
private currentlyLoaded: number;
|
private currentlyLoaded: number;
|
||||||
private amountToLoad: number;
|
private amountToLoad: number;
|
||||||
|
|
|
@ -73,8 +73,8 @@ export class MovieSearchComponent implements OnInit {
|
||||||
|
|
||||||
this.popularMovies();
|
this.popularMovies();
|
||||||
}
|
}
|
||||||
public search(text: any) {
|
|
||||||
|
|
||||||
|
public search(text: any) {
|
||||||
this.searchChanged.next(text.target.value);
|
this.searchChanged.next(text.target.value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue