Merged in fix/sw-2527-incorrect-toast-when-tier-matching (pull request #1879)

SW-2527 - Fix boosted toast when tier matching

* Compare levels to ensure toast is only displayed when actually boosted

* Fix 200 name

* Update naming


Approved-by: Linus Flood
This commit is contained in:
Anton Gunnarsson
2025-04-28 13:41:14 +00:00
parent bfc25453c7
commit bbbd665a32
3 changed files with 38 additions and 4 deletions

View File

@@ -1,5 +1,15 @@
import type { EurobonusTier } from "@/types/user"
export const FriendsMembershipLevels = [
"L1",
"L2",
"L3",
"L4",
"L5",
"L6",
"L7",
] as const
export enum membershipLevels {
L1 = 1,
L2 = 2,