plmercereau/platyplus

View on GitHub
src/components/ErrorsPage.vue

Summary

Maintainability
Test Coverage
<template>
  <v-container>
    <h1>Some serverErrors occurred in loading the page.</h1>
    <v-btn @click="refetch">Try again</v-btn>
  </v-container>
</template>

<script>
    export default {
      name: 'serverErrors-page',
      methods: {
        refetch () {
          this.$parent.refetchAll() // INFO check is the use of this.$parent is recommended
        }
      }
    }
</script>

<style scoped>

</style>