suppression qrcode et de la librairie

This commit is contained in:
styve Lioumba
2025-11-14 20:20:29 +01:00
parent ff0e29c148
commit 0301a75e4d
5 changed files with 18 additions and 151 deletions

View File

@@ -3,8 +3,6 @@ import { ActivatedRoute, RouterLink, RouterOutlet } from '@angular/router';
import { User } from '@app/shared/models/user';
import { Location, NgClass } from '@angular/common';
import { UntilDestroy } from '@ngneat/until-destroy';
import { SafeUrl } from '@angular/platform-browser';
import { QRCodeModule } from 'angularx-qrcode';
import { environment } from '@env/environment';
import { ChipsComponent } from '@app/shared/components/chips/chips.component';
import { ReseauxComponent } from '@app/shared/components/reseaux/reseaux.component';
@@ -20,7 +18,6 @@ import { ProfileFacade } from '@app/ui/profiles/profile.facade';
standalone: true,
imports: [
RouterLink,
QRCodeModule,
ChipsComponent,
ReseauxComponent,
UpdateUserComponent,
@@ -40,7 +37,6 @@ export class MyProfileComponent implements OnInit {
protected menu = signal<string>('home');
protected myProfileQrCode = `${environment.production}`;
protected qrCodeDownloadLink: SafeUrl = `${environment.production}`;
protected location = inject(Location);
protected readonly route = inject(ActivatedRoute);
@@ -54,9 +50,6 @@ export class MyProfileComponent implements OnInit {
protected isEditMode = signal<boolean>(false);
onChangeURL(url: SafeUrl) {
this.qrCodeDownloadLink = url;
}
onCancelEditMode($event: boolean) {
this.isEditMode.set(!$event);