Skip to content

Commit

Permalink
fix: sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
kovalsofiia1 committed Nov 12, 2024
1 parent 60092fc commit 7646f1a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ export class EditPhotoPopUpComponent implements OnInit {
cancelPhoto() {
this.dragAndDropComponent.cancelChanges();
this.selectedFile = null;
console.log(this.isWarning);
}

private setUserAvatar(): void {
Expand All @@ -85,7 +84,6 @@ export class EditPhotoPopUpComponent implements OnInit {
}

imageCropped(fileHandle: FileHandle): void {
console.log(fileHandle);
if (!fileHandle?.file) {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import { EditProfileService } from '@global-user/services/edit-profile.service';
import { TranslateService } from '@ngx-translate/core';
import { FormBaseComponent } from '@shared/components/form-base/form-base.component';
import { ReplaySubject, Subscription } from 'rxjs';
import { ReplaySubject } from 'rxjs';
import { filter, take, takeUntil } from 'rxjs/operators';
import { Patterns } from 'src/assets/patterns/patterns';
import { emailPreferencesList, periodicityOptions } from '@global-user/models/edit-profile-const';
Expand All @@ -43,7 +43,7 @@ export class EditProfileComponent extends FormBaseComponent implements OnInit, O
private profileService: ProfileService;
private snackBar: MatSnackBarComponent;
private localStorageService: LocalStorageService;
private destroyed$: ReplaySubject<any> = new ReplaySubject<any>(1);
private readonly destroyed$: ReplaySubject<any> = new ReplaySubject<any>(1);
cityOptions: google.maps.places.AutocompletionRequest = {
input: '',
types: ['(cities)']
Expand Down
1 change: 0 additions & 1 deletion src/app/shared/search-popup/search-popup.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { NewsSearchModel } from '@global-models/search/newsSearch.model';
import { EventsSearchModel } from '@global-models/search/eventsSearch.model';
import { SearchDataModel } from '@global-models/search/search.model';
import { LiveAnnouncer } from '@angular/cdk/a11y';
import { searchIcons } from '../../main/image-pathes/search-icons';
import { negate, isNil } from 'lodash';
Expand Down

0 comments on commit 7646f1a

Please sign in to comment.