diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-04-12 00:31:39 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-04-12 00:31:39 -0400 |
| commit | 1817a8726b23eabb893314239da6d340ecee9299 (patch) | |
| tree | d35a64a09db0243b61ea62eb47022e8cd2aed563 /src/client/apis/youtube/YoutubeBox.tsx | |
| parent | bd70f0e07e7d578c4ecb544f0e5b1ad16132fc05 (diff) | |
| parent | 7f624f5a526c09172d450419e2bc84604a7949ad (diff) | |
merged
Diffstat (limited to 'src/client/apis/youtube/YoutubeBox.tsx')
| -rw-r--r-- | src/client/apis/youtube/YoutubeBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/apis/youtube/YoutubeBox.tsx b/src/client/apis/youtube/YoutubeBox.tsx index 4e990537f..1575e53fc 100644 --- a/src/client/apis/youtube/YoutubeBox.tsx +++ b/src/client/apis/youtube/YoutubeBox.tsx @@ -156,14 +156,14 @@ export class YoutubeBox extends React.Component<FieldViewProps> { @action processVideoDetails = (videoDetails: any[]) => { this.videoDetails = videoDetails; - this.props.Document.cachedDetails = Docs.Get.DocumentHierarchyFromJson(videoDetails, "detailBackUp", undefined, false); + this.props.Document.cachedDetails = Docs.Get.FromJson({ data: videoDetails, title: "detailBackUp" }); } /** * The function that stores the search results in the props document. */ backUpSearchResults = (videos: any[]) => { - this.props.Document.cachedSearchResults = Docs.Get.DocumentHierarchyFromJson(videos, "videosBackUp", undefined, false); + this.props.Document.cachedSearchResults = Docs.Get.FromJson({ data: videos, title: "videosBackUp" }); } /** |
