diff --git a/portal/portal.js b/portal/portal.js index 2da5e07..993da2b 100644 --- a/portal/portal.js +++ b/portal/portal.js @@ -911,6 +911,7 @@ const Portal = { }, async saveOrderTypes() { + if (!this.config.businessId) return; const types = ['1']; // Dine-in always enabled if (document.getElementById('orderTypeTakeaway').checked) types.push('2'); try {