Modal.vue 435 B

1234567891011121314151617181920212223242526
  1. <template>
  2. <SmartModal
  3. v-if="show"
  4. :title="$t('team.select_a_team')"
  5. @close="$emit('hide-modal')"
  6. >
  7. <template #body>
  8. <Teams :modal="true" />
  9. </template>
  10. </SmartModal>
  11. </template>
  12. <script>
  13. import { defineComponent } from "@nuxtjs/composition-api"
  14. export default defineComponent({
  15. props: {
  16. show: Boolean,
  17. },
  18. methods: {
  19. hideModal() {
  20. this.$emit("hide-modal")
  21. },
  22. },
  23. })
  24. </script>