From 64bebd9321457321ff0eb3cad0ff87c029147586 Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Sun, 30 Jul 2017 15:57:22 -0400 Subject: [PATCH] do not block play button on cost info --- ui/js/component/video/internal/play-button.jsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ui/js/component/video/internal/play-button.jsx b/ui/js/component/video/internal/play-button.jsx index f5223231c..266d3b617 100644 --- a/ui/js/component/video/internal/play-button.jsx +++ b/ui/js/component/video/internal/play-button.jsx @@ -47,7 +47,6 @@ class VideoPlayButton extends React.PureComponent { modal, closeModal, isLoading, - costInfo, fileInfo, mediaType, } = this.props; @@ -60,10 +59,7 @@ class VideoPlayButton extends React.PureComponent { } */ - const disabled = - isLoading || - fileInfo === undefined || - (fileInfo === null && (!costInfo || costInfo.cost === undefined)); + const disabled = isLoading || fileInfo === undefined; const icon = ["audio", "video"].indexOf(mediaType) !== -1 ? "icon-play" : "icon-folder-o";