Skip to content

Commit

Permalink
Fix: None
Browse files Browse the repository at this point in the history
Refactor: Added Family to Order Types
Feat: None
  • Loading branch information
jiloysss authored and jiloysss committed Jul 24, 2019
1 parent adcd282 commit c67ddc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stories/components/ConfirmOrderModalComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { currentLanguage } from "../../translations/CurrentLanguage";
import translation from "../.././translations/translation";
let strings = new LocalizedStrings(translation);

const ORDER_TYPES = ["Dine-in", "Takeaway", "Delivery", "Online"];
const ORDER_TYPES = ["Dine-in", "Takeaway", "Delivery", "Online", "Family"];

// TODO: translation table selection
export default class ConfirmOrderModalComponent extends React.Component {
Expand Down Expand Up @@ -72,7 +72,7 @@ export default class ConfirmOrderModalComponent extends React.Component {
>
{OrderTypes}
</PickerComponent>
{this.state.orderType === "Dine-in"
{this.state.orderType === "Dine-in" || this.state.orderType === "Family"
? [
<Label text="Select Table" />,
<Item regular>
Expand Down

0 comments on commit c67ddc0

Please sign in to comment.