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