Fixes previous attempt to auto-hide divider
The divider prop was only being set when title was present, and the default value for divider is true. This unconditionally sets the divider prop. Signed-off-by: Adam Kunicki <kunickiaj@gmail.com>
This commit is contained in:
@@ -152,7 +152,8 @@ function CardExtension<T>(props: CardExtensionComponentProps<T>) {
|
||||
}
|
||||
|
||||
const cardProps = {
|
||||
...(title && { title, divider: !!title }),
|
||||
divider: !!title,
|
||||
...(title && { title }),
|
||||
...(Settings && !isCustomizable
|
||||
? {
|
||||
action: (
|
||||
|
||||
Reference in New Issue
Block a user