1
0

feat: use withDefaults for Labels

This commit is contained in:
Dominik Pschenitschni 2024-06-26 19:43:06 +02:00 committed by konrad
parent 1dbd8b6c37
commit dea051010d

View File

@ -9,17 +9,13 @@
</template>
<script setup lang="ts">
import type {PropType} from 'vue'
import type {ILabel} from '@/modelTypes/ILabel'
import XLabel from '@/components/tasks/partials/Label.vue'
defineProps({
labels: {
type: Array as PropType<ILabel[]>,
required: true,
},
})
defineProps<{
labels: ILabel[],
}>()
</script>
<style lang="scss" scoped>