Filter out "cembra_byjuno" for prod

This commit is contained in:
Daniel Egger 2024-07-10 18:12:25 +02:00
parent d9efdb0d73
commit 3d3556f692
1 changed files with 7 additions and 0 deletions

View File

@ -32,6 +32,13 @@ const paymentMethods = [
{ value: "cembra_byjuno", label: t("a.Rechnung") }, { value: "cembra_byjuno", label: t("a.Rechnung") },
]; ];
// TODO: remove after cembra is ready for production
const appEnv = import.meta.env.VITE_APP_ENVIRONMENT || "local";
if (appEnv.startsWith("prod")) {
paymentMethods.splice(1, 1);
}
// END TODO
const address = computed({ const address = computed({
get() { get() {
return props.modelValue; return props.modelValue;