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
|
// 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();
|
||||||
|
|
|
||||||
Reference in a new issue