Remove manual image upload step - use automatic matching
This commit is contained in:
parent
dbe05a8b12
commit
1a7c342ac9
1 changed files with 4 additions and 10 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Reference in a new issue