refactor: composables for i18n and toast
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<SmartModal v-if="show" :title="$t('team.select_a_team')" @close="hideModal">
|
||||
<SmartModal v-if="show" :title="t('team.select_a_team')" @close="hideModal">
|
||||
<template #body>
|
||||
<Teams :modal="true" />
|
||||
</template>
|
||||
@@ -7,6 +7,10 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useI18n } from "~/helpers/utils/composables"
|
||||
|
||||
const t = useI18n()
|
||||
|
||||
defineProps<{
|
||||
show: Boolean
|
||||
}>()
|
||||
|
||||
Reference in New Issue
Block a user