Remove manual image upload step - use automatic matching

This commit is contained in:
John Mizerek 2026-02-12 20:36:43 -08:00
parent dbe05a8b12
commit 1a7c342ac9

View file

@ -1348,11 +1348,8 @@
// Remove loading message and start conversation flow // Remove loading message and start conversation flow
document.getElementById('conversation').innerHTML = ''; document.getElementById('conversation').innerHTML = '';
// If we have image mappings from the HTML, show image matching step first // In add-menu mode, skip business info and header
if (config.imageMappings.length > 0) { if (config.businessId && config.menuId) {
showImageMatchingStep();
} else if (config.businessId && config.menuId) {
// In add-menu mode, skip business info and header
showCategoriesStep(); showCategoriesStep();
} else { } else {
showBusinessInfoStep(); showBusinessInfoStep();
@ -1448,11 +1445,8 @@
// Remove loading message and start conversation flow // Remove loading message and start conversation flow
document.getElementById('conversation').innerHTML = ''; document.getElementById('conversation').innerHTML = '';
// If we have image mappings from the HTML, show image matching step first // In add-menu mode, skip business info and header
if (config.imageMappings.length > 0) { if (config.businessId && config.menuId) {
showImageMatchingStep();
} else if (config.businessId && config.menuId) {
// In add-menu mode, skip business info and header
showCategoriesStep(); showCategoriesStep();
} else { } else {
showBusinessInfoStep(); showBusinessInfoStep();