Archived
temporary
This commit is contained in:
+2
-2
@@ -137,9 +137,9 @@ class VideoInfo extends React.Component {
|
||||
</Tab>
|
||||
<Tab className="text-white" eventKey="wikipedia" title="Wikipedia">
|
||||
<Wikipedia
|
||||
title={this.props.location.state.title}
|
||||
title={'undefined' !== typeof this.props.location.state ? this.props.location.state.title : undefined}
|
||||
title2={ytclear(this.state.VideoDetails.snippet.title).split('-')[1]}
|
||||
artist={this.props.location.state.artist}
|
||||
artist={'undefined' !== typeof this.props.location.state ? this.props.location.state.artist : undefined}
|
||||
artist2={ytclear(this.state.VideoDetails.snippet.title).split('-')[0]}
|
||||
key={this.props.videoId}
|
||||
videoId={this.props.videoId}
|
||||
|
||||
@@ -40,6 +40,9 @@ class Wikipedia extends Component {
|
||||
wikidatakeys: Object.keys(wikidatatmp.claims),
|
||||
isWDataLoaded: true
|
||||
});
|
||||
wdk.getManyEntities(Object.keys(wikidatatmp.claims), 'en').then(
|
||||
res=> console.info(res,'eee')
|
||||
)
|
||||
if (wikidatatmp.sitelinks.enwiki)
|
||||
wikijs()
|
||||
.page(wikidatatmp.sitelinks.enwiki.title)
|
||||
|
||||
Reference in New Issue
Block a user