Merged in feat/LOY-365-promo-campaign-eligible-levels (pull request #2864)
feat(LOY-365): Add support for eligible levels for promo campaign pages * feat(LOY-365): Add support for eligible levels for promo campaign pages * fix(LOY-365): update to most recent copy * fix(LOY-365): cleanup css * fix(LOY-365): Move ineligible message to the bottom * fix(LOY-365): remove uneeded type Approved-by: Erik Tiekstra Approved-by: Matilda Landström
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
import { MembershipLevelEnum } from "@scandic-hotels/common/constants/membershipLevels"
|
||||
|
||||
export function isMembershipLevel(value: string): value is MembershipLevelEnum {
|
||||
return Object.values(MembershipLevelEnum).some((level) => level === value)
|
||||
}
|
||||
Reference in New Issue
Block a user