bcgov/common-forms-toolkit

View on GitHub
app/frontend/src/views/minesoperatorscreening/Admin.vue

Summary

Maintainability
Test Coverage
A
100%
<template>
  <v-container>
    <BaseSecure :resource="resource" viewer>
      <h1>Submissions</h1>
      <SubmissionsTable :formName="formName" />
    </BaseSecure>
  </v-container>
</template>

<script>
import SubmissionsTable from '@/components/common/admin/SubmissionsTable.vue';
import { AppClients, FormNames } from '@/utils/constants';

export default {
  name: 'MinesOperatorScreeningAdmin',
  components: {
    SubmissionsTable
  },
  computed: {
    formName() {
      return FormNames.MINESOPERATORSCREENING;
    },
    resource() {
      return AppClients.MINESOPERATORSCREENING;
    }
  }
};
</script>