<script setup>
import WorkerDescriptor from './WorkerDescriptor.vue';
import WorkerSummaryDialog from './WorkerSummaryDialog.vue';

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

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