Skip to content

Commit 6cde48e

Browse files
Merge pull request #9155 from jeffibm/fix-structured-list-test
Fix MiqStructuredList test
2 parents 2327d39 + 5cc9035 commit 6cde48e

File tree

1 file changed

+1
-1
lines changed
  • app/javascript/components/miq-structured-list

1 file changed

+1
-1
lines changed

app/javascript/components/miq-structured-list/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const MiqStructuredList = ({
4848
export default MiqStructuredList;
4949

5050
MiqStructuredList.propTypes = {
51-
title: PropTypes.string,
51+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.shape({})]),
5252
headers: PropTypes.arrayOf(PropTypes.any),
5353
rows: PropTypes.arrayOf(PropTypes.any),
5454
onClick: PropTypes.func,

0 commit comments

Comments
 (0)