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

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

<template>
    <QPopupProxy data-cy="WorkerDescriptor">
        <WorkerDescriptor
            v-if="$props.id"
            :id="$props.id"
            :summary="WorkerSummary"
            data-key="WorkerDescriptorProxy"
        />
    </QPopupProxy>
</template>
