diff --git a/src/Components/Info.js b/src/Components/Info.js
index d73427c1..48570e04 100644
--- a/src/Components/Info.js
+++ b/src/Components/Info.js
@@ -22,9 +22,6 @@ import Linkify from "react-linkify";
import { withRouter } from "react-router-dom";
import update from "immutability-helper";
import whatsapp_icon from "../assets/whatsapp_icon.png";
-import whatsapp_button from "../assets/whatsapp_button.png";
-import menu_button from "../assets/menu_button.png";
-import website_button from "../assets/website_button.png";
import menu_title from "../assets/info_menu.png";
import orderleh_title from "../assets/orderleh_title.png";
import delivery_title from "../assets/info_delivery.png";
@@ -729,7 +726,7 @@ export class Info extends React.Component {
let cuisine = [];
let regions = [];
let photos = [];
- let link = "https://wa.me/65" + this.state.data.contact;
+ let whatsAppLink = "https://wa.me/65" + this.state.data.contact;
if (this.state.retrieved) {
if (this.state.data.categories) {
this.state.data.categories.forEach((element) => {
@@ -931,56 +928,137 @@ export class Info extends React.Component {
>
{this.state.hero ? null : (
- ) : null}
{/* Display the rest of the menu if customer clicks Menu / see more */}
{this.state.wantToOrder ? (
@@ -1875,6 +1805,48 @@ export class Info extends React.Component {
) : null}
+
+ {/* See more button shows if only 1 item OR >1 item && customer hasn't clicked Menu / see more */}
+ {
+ this.state.data.menu && (
+ (this.state.data.menu_combined.length > 1 &&
+ this.state.data.menu_combined[1] &&
+ this.state.data.menu_combined[1].name !== "") ||
+ (this.state.data.menu_combined[0] &&
+ this.state.data.menu_combined[0].name !== "" &&
+ this.state.data.menu_combined[1] &&
+ this.state.data.menu_combined[1].name === "") ||
+ (this.state.data.menu_combined.length === 1 &&
+ this.state.data.menu_combined[0] &&
+ this.state.data.menu_combined[0].name !== "")
+ )
+ ?
+
+
+ {!this.state.wantToOrder ? see more ↓ : see less ↑}
+
+
+ : null
+ }
) : null}
@@ -1973,76 +1945,72 @@ export class Info extends React.Component {