diff --git a/src/app/main/component/shared/components/edit-photo-pop-up/edit-photo-pop-up.component.ts b/src/app/main/component/shared/components/edit-photo-pop-up/edit-photo-pop-up.component.ts index 5758be0ba9..7ba38fb3d7 100644 --- a/src/app/main/component/shared/components/edit-photo-pop-up/edit-photo-pop-up.component.ts +++ b/src/app/main/component/shared/components/edit-photo-pop-up/edit-photo-pop-up.component.ts @@ -73,7 +73,6 @@ export class EditPhotoPopUpComponent implements OnInit { cancelPhoto() { this.dragAndDropComponent.cancelChanges(); this.selectedFile = null; - console.log(this.isWarning); } private setUserAvatar(): void { @@ -85,7 +84,6 @@ export class EditPhotoPopUpComponent implements OnInit { } imageCropped(fileHandle: FileHandle): void { - console.log(fileHandle); if (!fileHandle?.file) { return; } diff --git a/src/app/main/component/user/components/profile/edit-profile/edit-profile.component.ts b/src/app/main/component/user/components/profile/edit-profile/edit-profile.component.ts index 0592163f07..32aa53f251 100644 --- a/src/app/main/component/user/components/profile/edit-profile/edit-profile.component.ts +++ b/src/app/main/component/user/components/profile/edit-profile/edit-profile.component.ts @@ -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'; @@ -43,7 +43,7 @@ export class EditProfileComponent extends FormBaseComponent implements OnInit, O private profileService: ProfileService; private snackBar: MatSnackBarComponent; private localStorageService: LocalStorageService; - private destroyed$: ReplaySubject = new ReplaySubject(1); + private readonly destroyed$: ReplaySubject = new ReplaySubject(1); cityOptions: google.maps.places.AutocompletionRequest = { input: '', types: ['(cities)'] diff --git a/src/app/shared/search-popup/search-popup.component.ts b/src/app/shared/search-popup/search-popup.component.ts index 92083feabb..d27a99da07 100644 --- a/src/app/shared/search-popup/search-popup.component.ts +++ b/src/app/shared/search-popup/search-popup.component.ts @@ -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';