Skip to content

Commit 6f9c6de

Browse files
committed
fix(list-item): don't render typography header if only text is used
1 parent b636913 commit 6f9c6de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/anu-vue/src/components/list-item/AListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export const AListItem = defineComponent({
135135
class="flex-grow"
136136
subtitle={props.subtitle}
137137
text={props.text}
138-
title={Object.values(_titleProp.value) as ConfigurableValue}
138+
title={props.title ? Object.values(_titleProp.value) as ConfigurableValue : undefined}
139139
/>
140140
}
141141

0 commit comments

Comments
 (0)