Merge pull request #461 from lbryio/fix/sync_status

Fix status tracking
This commit is contained in:
Niko 2018-03-22 11:29:50 -04:00 committed by GitHub
commit 8168473f53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
<?php Response::addJsAsset('/js/yt2/youtube_status.js') ?>
<?php Response::addJsAsset('/js/yt2/youtube_video.js')?>
<?php $statusData = $status_token['data'] ?>
<?php $isSyncAgreed = false ?>
<?php $isSyncAgreed = in_array($statusData['status'], ["syncing", "synced", "queued"]) ?>
<?php $isRewardClaimed = $statusData['is_reward_claimed'] ?? false ?>
<main class="channel-settings">
<?php echo View::render('acquisition/_youtube_header') ?>