Removing ChannelDownload in favor of Download.channel_id.

This commit is contained in:
Roland 2024-07-20 15:35:16 -06:00
parent 958dbb899d
commit 63738bd70f
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
17 changed files with 290 additions and 364 deletions

View file

@ -240,7 +240,7 @@ function ChannelPage({create, header}) {
}
}
let channelDownloads = channel && channel.channel_downloads ? channel.channel_downloads : null;
let downloads = channel && channel.downloads ? channel.downloads : null;
const afterNewDownloadSave = async () => {
await fetchChannel();
@ -399,7 +399,7 @@ function ChannelPage({create, header}) {
</ModalContent>
</Modal>
<RecurringDownloadsTable downloads={channelDownloads} fetchDownloads={fetchChannel}/>
<RecurringDownloadsTable downloads={downloads} fetchDownloads={fetchChannel}/>
</Segment>}
<div style={{marginTop: '2em'}}>