mirror of
https://github.com/WowUp/WowUp.git
synced 2026-05-24 14:35:53 -04:00
Fix lint issues
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user