Checking on Link for null values; Playing already fully-loaded playlists

This commit is contained in:
James Barnsley
2019-03-29 14:20:06 +13:00
parent ccb0d6672a
commit 2a0cb74ca7
7 changed files with 5689 additions and 10844 deletions

View File

@ -62,6 +62,10 @@ class CustomLink extends React.Component{
className += this.props.className;
}
if (!this.props.to){
return <span className={className}>{this.props.children}</span>;
}
// We have an active detector method
// This is used almost solely by the Sidebar navigation
if (this.props.history !== undefined){