Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'
import { BehaviorSubject, Observable, debounceTime, distinctUntilChanged, first, tap, flatMap, map } from 'rxjs'
import { BehaviorSubject, Observable, debounceTime, distinctUntilChanged, first, tap, switchMap, map } from 'rxjs'
import semverGt from 'semver/functions/gt'

import { Component, HostBinding, Input } from '@angular/core'
Expand Down Expand Up @@ -48,7 +48,7 @@ export class PluginsSettingsTabComponent {
.pipe(
debounceTime(200),
distinctUntilChanged(),
flatMap(query => {
switchMap(query => {
this.availablePluginsReady = false
return this.pluginManager.listAvailable(query).pipe(tap(() => {
this.availablePluginsReady = true
Expand All @@ -69,7 +69,7 @@ export class PluginsSettingsTabComponent {
.pipe(
debounceTime(200),
distinctUntilChanged(),
flatMap(query => {
switchMap(query => {
return this.pluginManager.listInstalled(query)
}),
).subscribe(plugin => {
Expand Down
Loading