in src/components/Menu/Directory/index.tsx [50:62]
constructor(props) {
super(props);
this.initialize();
if (
this.props.items &&
this.props.items.some(({route}) => this.currentRoute.startsWith(route))
) {
this.state = {isExpanded: true};
} else {
this.state = {isExpanded: this.props.url.startsWith("/start")};
}
}