feat: add catalog module toggle
- Add catalog module to POS config endpoints, sidebar filter, config UI - Add catalog toggle to Instance Manager tenant modules modal
This commit is contained in:
@@ -597,6 +597,7 @@ def get_modules():
|
||||
'whatsapp': _bool('module_whatsapp'),
|
||||
'marketplace': _bool('module_marketplace'),
|
||||
'meli': _bool('module_meli'),
|
||||
'catalog': _bool('module_catalog'),
|
||||
})
|
||||
|
||||
|
||||
@@ -612,6 +613,7 @@ def update_modules():
|
||||
'module_whatsapp': 'true' if data.get('whatsapp') else 'false',
|
||||
'module_marketplace': 'true' if data.get('marketplace') else 'false',
|
||||
'module_meli': 'true' if data.get('meli') else 'false',
|
||||
'module_catalog': 'true' if data.get('catalog') else 'false',
|
||||
}
|
||||
|
||||
for key, value in settings.items():
|
||||
|
||||
Reference in New Issue
Block a user