diff --git a/app/javascript/dashboard/components/widgets/conversation/conversationCardComponents/CardLabels.vue b/app/javascript/dashboard/components/widgets/conversation/conversationCardComponents/CardLabels.vue index 39fd9e047..6c719fc01 100644 --- a/app/javascript/dashboard/components/widgets/conversation/conversationCardComponents/CardLabels.vue +++ b/app/javascript/dashboard/components/widgets/conversation/conversationCardComponents/CardLabels.vue @@ -13,8 +13,8 @@ export default { const accountLabels = useMapGetter('labels/getLabels'); const activeLabels = computed(() => { - return props.conversationLabels.map(label => - accountLabels.value.find(l => l.title === label) + return accountLabels.value.filter(({ title }) => + props.conversationLabels.includes(title) ); }); @@ -83,7 +83,7 @@ export default {