Filter out "cembra_byjuno" for prod
This commit is contained in:
parent
d9efdb0d73
commit
3d3556f692
|
|
@ -32,6 +32,13 @@ const paymentMethods = [
|
|||
{ 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({
|
||||
get() {
|
||||
return props.modelValue;
|
||||
|
|
|
|||
Loading…
Reference in New Issue