commit e8a5cd31620961ffece4477a7eb34f6d09171403
parent 73b45c5d43967c8dbd744e019d120ebd3f7e4d1f
Author: Sebastian <sebasjm@taler-systems.com>
Date: Fri, 17 Jul 2026 16:17:10 -0300
missing enum def
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/packages/taler-merchant-webui/src/components/menu/SideBar.tsx b/packages/taler-merchant-webui/src/components/menu/SideBar.tsx
@@ -490,6 +490,8 @@ export function getAvailableForPersona(p: MerchantPersona): ElementMap {
[UIElement.option_refreshableScopes]: false,
[UIElement.option_advanceProductTaxes]: false,
[UIElement.option_exraWireSubject]: true,
+ [UIElement.option_orderChoices]: false,
+ [UIElement.option_templateTypes]: false,
};
case "offline-vending-machine":
return {
@@ -527,6 +529,8 @@ export function getAvailableForPersona(p: MerchantPersona): ElementMap {
[UIElement.option_refreshableScopes]: false,
[UIElement.option_advanceProductTaxes]: false,
[UIElement.option_exraWireSubject]: false,
+ [UIElement.option_orderChoices]: false,
+ [UIElement.option_templateTypes]: false,
};
// case "inperson-vending-with-inventory":
case "point-of-sale":
@@ -565,6 +569,8 @@ export function getAvailableForPersona(p: MerchantPersona): ElementMap {
[UIElement.option_refreshableScopes]: false,
[UIElement.option_advanceProductTaxes]: false,
[UIElement.option_exraWireSubject]: false,
+ [UIElement.option_orderChoices]: false,
+ [UIElement.option_templateTypes]: false,
};
case "digital-publishing":
return {
@@ -602,6 +608,8 @@ export function getAvailableForPersona(p: MerchantPersona): ElementMap {
[UIElement.option_refreshableScopes]: false,
[UIElement.option_advanceProductTaxes]: false,
[UIElement.option_exraWireSubject]: false,
+ [UIElement.option_orderChoices]: false,
+ [UIElement.option_templateTypes]: false,
};
case "e-commerce":
return {
@@ -639,6 +647,8 @@ export function getAvailableForPersona(p: MerchantPersona): ElementMap {
[UIElement.option_refreshableScopes]: false,
[UIElement.option_advanceProductTaxes]: false,
[UIElement.option_exraWireSubject]: false,
+ [UIElement.option_orderChoices]: false,
+ [UIElement.option_templateTypes]: false,
};
}
}