Add buttons back (#1505)
* Add buttons back * Fix buttons in Collection instead * Remove unneeded buttons from CardGrid
This commit is contained in:
parent
7e1bdd4dce
commit
00c95baf89
@ -79,7 +79,7 @@ export default class Collection<P extends CollectionProps, S extends CollectionS
|
||||
protected renderHeader (): React.ReactNode {
|
||||
const { buttons, headerText } = this.props;
|
||||
|
||||
if (!headerText) {
|
||||
if (!headerText && !buttons) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user