suppression qrcode et de la librairie
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user