Fix lint issues

This commit is contained in:
jliddev
2022-05-03 10:02:16 -05:00
parent 32d611b215
commit bd9566ee1e
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
import { last } from "lodash";
import { Gallery, GalleryItem, ImageItem } from "ng-gallery";
import { BehaviorSubject, firstValueFrom, from, Observable, of, Subject, Subscription } from "rxjs";
import { BehaviorSubject, from, Observable, of, Subject } from "rxjs";
import { catchError, filter, first, map, takeUntil, tap } from "rxjs/operators";
import {

View File

@@ -54,7 +54,7 @@ export class AddonInstallButtonComponent implements OnInit, OnDestroy {
this.disableButton$.next(this.addonSearchResult.externallyBlocked || isInstalled);
if (this.addonSearchResult.externallyBlocked) {
this.buttonText$.next(this._translate.instant("COMMON.ADDON_STATE.UNAVAILABLE"));
this.buttonText$.next(this._translate.instant("COMMON.ADDON_STATE.UNAVAILABLE") as string);
} else {
this.buttonText$.next(
this.getButtonText(isInstalled ? AddonInstallState.Complete : AddonInstallState.Unknown)

View File

@@ -8,7 +8,7 @@ import {
RowNode,
} from "ag-grid-community";
import * as _ from "lodash";
import { BehaviorSubject, combineLatest, from, Observable, of, Subject, Subscription } from "rxjs";
import { BehaviorSubject, combineLatest, from, Observable, of, Subject } from "rxjs";
import { catchError, filter, first, map, switchMap, takeUntil } from "rxjs/operators";
import { ChangeDetectorRef, Component, Input, OnDestroy, OnInit, ViewChild } from "@angular/core";