Skip to content

Commit

Permalink
fix(list-item): don't render typography header if only text is used
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-solanki committed Nov 27, 2022
1 parent b636913 commit 6f9c6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/anu-vue/src/components/list-item/AListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const AListItem = defineComponent({
class="flex-grow"
subtitle={props.subtitle}
text={props.text}
title={Object.values(_titleProp.value) as ConfigurableValue}
title={props.title ? Object.values(_titleProp.value) as ConfigurableValue : undefined}
/>
}

Expand Down

0 comments on commit 6f9c6de

Please sign in to comment.