<template>
  <div>
    {{ $store.state.customerRights }}
    todo: backend customer rights check in addition to here
    <UnderConstruction data-cy="underconstruction" />
  </div>
</template>

<script>
import UnderConstruction from "../components/underconstruction.vue";

export default {
  components: {
    UnderConstruction
  },
  beforeCreate() {
    window.$gz.eventBus.$emit("menu-change", {
      isMain: true,
      icon: "$ayiTools",
      title: "WorkOrderList",
      helpUrl: "customer-workorders"
    });
  }
};
</script>
