mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
site: meta.hidden should work
This commit is contained in:
parent
720408e152
commit
202f01c292
@ -33,7 +33,8 @@ export default class ComponentDoc extends React.Component {
|
||||
const { doc, location } = this.props;
|
||||
const scrollTo = location.query.scrollTo;
|
||||
const { description, meta } = doc;
|
||||
const demos = demosList[meta.fileName] || [];
|
||||
const demos = (demosList[meta.fileName] || [])
|
||||
.filter((demoData) => !demoData.meta.hidden);
|
||||
const expand = this.state.expandAll;
|
||||
|
||||
const isSingleCol = meta.cols === 1;
|
||||
|
Loading…
Reference in New Issue
Block a user