Skip to content

Commit

Permalink
fix: delete ubused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
kovalsofiia1 committed Nov 12, 2024
1 parent 7646f1a commit 97159d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export class EditPhotoPopUpComponent implements OnInit {
loadingAnim: boolean;
isDragAndDropMenu = false;
croppedImage: string | File;
shouldCancel = false;

@ViewChild(DragAndDropComponent) dragAndDropComponent: DragAndDropComponent;

Expand Down
7 changes: 2 additions & 5 deletions src/app/shared/search-popup/search-popup.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { LiveAnnouncer } from '@angular/cdk/a11y';
import { searchIcons } from '../../main/image-pathes/search-icons';
import { negate, isNil } from 'lodash';
import { Component, OnDestroy, OnInit } from '@angular/core';
import { Subscription, forkJoin } from 'rxjs';
import { Observable, Subscription, forkJoin } from 'rxjs';
import { FormControl } from '@angular/forms';
import { debounceTime, distinctUntilChanged, tap, switchMap, filter } from 'rxjs/operators';
import { SearchService } from '@global-service/search/search.service';
Expand All @@ -31,16 +31,13 @@ export class SearchPopupComponent implements OnInit, OnDestroy {
newsElements: NewsSearchModel[] = [];
eventsElements: EventsSearchModel[] = [];
placesElements: PlacesSearchModel[] = [];

isSearchClicked = false;
searchModalSubscription: Subscription;
searchInput = new FormControl('');
isLoading = false;
isNewsSearchFound: boolean;
searchValueChanges;
searchValueChanges: Observable<string>;
private currentLanguage: string;
searchIcons = searchIcons;
searctabindex: SearchService;

constructor(
public searchService: SearchService,
Expand Down

0 comments on commit 97159d0

Please sign in to comment.