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