Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +2 -10
templates/index.html
CHANGED
@@ -463,16 +463,8 @@
|
|
463 |
handleYesResponse();
|
464 |
return;
|
465 |
} else if (lastMessage.includes('no') && selectedMenuItem) {
|
466 |
-
//
|
467 |
-
|
468 |
-
|
469 |
-
// Show quantity input + call promptAndSubmit with default value (e.g., 1)
|
470 |
-
const qty = 1;
|
471 |
-
promptAndSubmit(qty);
|
472 |
-
|
473 |
-
// Reset state
|
474 |
-
selectedMenuItem = null;
|
475 |
-
selectedIngredients = [];
|
476 |
return;
|
477 |
}
|
478 |
|
|
|
463 |
handleYesResponse();
|
464 |
return;
|
465 |
} else if (lastMessage.includes('no') && selectedMenuItem) {
|
466 |
+
// Submit the dish without customization
|
467 |
+
submitCustomizationIngredients();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
468 |
return;
|
469 |
}
|
470 |
|