Merged in feature/SW-2320-languagebased-hide-for-next-release (pull request #1937)
Language based alternative to HIDE_FOR_NEXT_RELEASE Approved-by: Anton Gunnarsson
This commit is contained in:
5
apps/scandic-web/env/isLangLive.ts
vendored
Normal file
5
apps/scandic-web/env/isLangLive.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import type { Lang } from "@/constants/languages"
|
||||
|
||||
export function isLangLive(lang: Lang, liveLangs: string[]): boolean {
|
||||
return liveLangs.includes(lang)
|
||||
}
|
||||
Reference in New Issue
Block a user