From 11e41b7a42abd28aaf0db25920248cd317a470d7 Mon Sep 17 00:00:00 2001 From: jvyden Date: Wed, 16 Oct 2024 17:27:43 -0400 Subject: [PATCH] Remove useless toggle for grief report photos --- src/app/api/types/extended-user.ts | 2 -- src/app/api/types/user-update-request.ts | 2 -- src/app/pages/settings/settings.component.html | 2 -- src/app/pages/settings/settings.component.ts | 4 ---- 4 files changed, 10 deletions(-) diff --git a/src/app/api/types/extended-user.ts b/src/app/api/types/extended-user.ts index d65d659b..0160cb77 100644 --- a/src/app/api/types/extended-user.ts +++ b/src/app/api/types/extended-user.ts @@ -9,8 +9,6 @@ export interface ExtendedUser extends User { rpcnAuthenticationAllowed: boolean; psnAuthenticationAllowed: boolean; - redirectGriefReportsToPhotos: boolean; - emailAddress: string | undefined; emailAddressVerified: boolean; } diff --git a/src/app/api/types/user-update-request.ts b/src/app/api/types/user-update-request.ts index 701aaa7a..aace040d 100644 --- a/src/app/api/types/user-update-request.ts +++ b/src/app/api/types/user-update-request.ts @@ -5,7 +5,5 @@ export interface UserUpdateRequest { psnAuthenticationAllowed: boolean | undefined; rpcnAuthenticationAllowed: boolean | undefined; - redirectGriefReportsToPhotos: boolean | undefined; - emailAddress: string | undefined; } diff --git a/src/app/pages/settings/settings.component.html b/src/app/pages/settings/settings.component.html index 3f8123cc..0bf2a800 100644 --- a/src/app/pages/settings/settings.component.html +++ b/src/app/pages/settings/settings.component.html @@ -11,8 +11,6 @@ [(value)]="allowPsnAuth"> - diff --git a/src/app/pages/settings/settings.component.ts b/src/app/pages/settings/settings.component.ts index 46083a31..190e3854 100644 --- a/src/app/pages/settings/settings.component.ts +++ b/src/app/pages/settings/settings.component.ts @@ -33,7 +33,6 @@ export class SettingsComponent implements OnInit { allowIpAuth: boolean = false; allowPsnAuth: boolean = false; allowRpcnAuth: boolean = false; - redirectGriefReportsToPhotos: boolean = false; themingSupported: boolean; @@ -96,7 +95,6 @@ export class SettingsComponent implements OnInit { this.allowIpAuth = data?.allowIpAuthentication ?? false; this.allowPsnAuth = data?.psnAuthenticationAllowed ?? false; this.allowRpcnAuth = data?.rpcnAuthenticationAllowed ?? false; - this.redirectGriefReportsToPhotos = data?.redirectGriefReportsToPhotos ?? false; } saveChanges() { @@ -107,7 +105,6 @@ export class SettingsComponent implements OnInit { allowIpAuthentication: this.allowIpAuth, psnAuthenticationAllowed: this.allowPsnAuth, rpcnAuthenticationAllowed: this.allowRpcnAuth, - redirectGriefReportsToPhotos: this.redirectGriefReportsToPhotos, }; this.authService.UpdateUser(request); @@ -136,7 +133,6 @@ export class SettingsComponent implements OnInit { protected readonly faGamepad = faGamepad; protected readonly faEnvelope = faEnvelope; protected readonly faTrash = faTrash; - protected readonly faCamera = faCamera; protected readonly faFloppyDisk = faFloppyDisk; protected readonly faCancel = faCancel; protected readonly faLeftRight = faLeftRight;