From 04e2e0311898d1d32d884ba0cd019a760ce0a7cb Mon Sep 17 00:00:00 2001 From: tsa96 Date: Sat, 28 Oct 2023 22:19:06 +0000 Subject: [PATCH] refactor(front): remove unknown gamemode from frontend Can't fix this up easily lol deal with it --- .../src/app/pages/dashboard/maps/map-list/map-list.component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/frontend/src/app/pages/dashboard/maps/map-list/map-list.component.ts b/apps/frontend/src/app/pages/dashboard/maps/map-list/map-list.component.ts index 2f182c797..8cb3a21c5 100644 --- a/apps/frontend/src/app/pages/dashboard/maps/map-list/map-list.component.ts +++ b/apps/frontend/src/app/pages/dashboard/maps/map-list/map-list.component.ts @@ -78,7 +78,6 @@ export class MapListComponent implements OnInit { this.types = [ { value: undefined, text: 'All' }, ...Enum.values(Gamemode) - .filter((status) => status !== Gamemode.UNKNOWN) .map((status) => ({ value: status, text: GamemodeName.get(status) })) .sort((a, b) => (a.text > b.text ? 1 : -1)) ];