<script setup>
import DepartmentDescriptor from './DepartmentDescriptor.vue';
import DepartmentSummary from './DepartmentSummary.vue';

const $props = defineProps({
    id: {
        type: Number,
        required: true,
    },
});
</script>

<template>
    <QPopupProxy>
        <DepartmentDescriptor
            v-if="$props.id"
            :id="$props.id"
            :summary="DepartmentSummary"
        />
    </QPopupProxy>
</template>
