fix: Update contact details page errors (#10536)

Co-authored-by: Pranav <pranavrajs@gmail.com>
This commit is contained in:
Sivin Varghese
2024-12-05 03:28:53 +05:30
committed by GitHub
parent 9b6830a610
commit bf58a18af4
4 changed files with 2 additions and 24 deletions

View File

@@ -16,10 +16,7 @@ const { t } = useI18n();
const searchQuery = ref('');
const contactAttributes = computed(() => {
const attributes = useMapGetter('attributes/getAttributesByModelType');
return attributes.value('contact_attribute') || [];
});
const contactAttributes = useMapGetter('attributes/getContactAttributes') || [];
const hasContactAttributes = computed(
() => contactAttributes.value?.length > 0