File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { Component , OnDestroy , OnInit } from '@angular/core' ;
2
2
import { Select , Store } from '@ngxs/store' ;
3
- import { firstValueFrom , Observable , Subscription } from 'rxjs' ;
3
+ import { Observable , Subscription } from 'rxjs' ;
4
4
import { ActiveFilterService } from '../../services/navigation/activeFilter.service' ;
5
5
import { AuthResource } from '../../services/resources/auth.resource' ;
6
6
import { UpdateLabels } from '../../state/label/label.actions' ;
@@ -34,9 +34,6 @@ export class BaseComponent implements OnInit, OnDestroy {
34
34
/**
35
35
* Refresh snippets on scope changes
36
36
*/
37
- firstValueFrom ( this . scope$ ) . then ( ( ) => {
38
- this . activeFilterService . updateFilter ( 'main' , 'all' ) ;
39
- } ) ;
40
37
this . scopeSubscription = this . scope$ . subscribe ( ( scope : ScopeModel ) => {
41
38
if ( scope && scope . area ) {
42
39
this . store . dispatch ( new UpdateSnippets ( ) ) ;
You can’t perform that action at this time.
0 commit comments