Files
hoppscotch/packages/hoppscotch-common/src/components/teams/Modal.vue
Joel Jacob Stephen 3f59597864 feat: introducing self hosted admin dashboard package (#12)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
2023-02-28 13:13:27 +05:30

31 lines
465 B
Vue

<template>
<HoppSmartModal
v-if="show"
dialog
:title="t('team.select_a_team')"
@close="hideModal"
>
<template #body>
<Teams :modal="true" />
</template>
</HoppSmartModal>
</template>
<script setup lang="ts">
import { useI18n } from "@composables/i18n"
const t = useI18n()
defineProps<{
show: boolean
}>()
const emit = defineEmits<{
(e: "hide-modal"): void
}>()
const hideModal = () => {
emit("hide-modal")
}
</script>