<template>
  <div>
    <Banner :back="backLink" :static-data="{ title: $_tr('title') }" />

    <TemplateContainer>
      <MyOrdersListing />
    </TemplateContainer>
  </div>
</template>

<script>
import Banner from '@inside-commons/components/lib/Banner'
import TemplateContainer from '@inside-commons/components/lib/TemplateContainer'

import MyOrdersListing from '../../components/restaurants/MyOrdersListing'

export default {
  name: 'RestaurantOrdersPage',
  $_i18nRootPath: 'customs.RESTAURANTS.MY_ORDERS',
  components: {
    Banner,
    TemplateContainer,
    MyOrdersListing
  },
  computed: {
    backLink() {
      return {
        title: this.$_tr('back'),
        href: { name: 'RestaurantsPage' }
      }
    }
  }
}
</script>
