Removing unused Progresses. Fixing issues reported by React.

This commit is contained in:
Roland 2022-01-31 16:52:22 -07:00
parent 70dc356adc
commit 0bd5d17b46
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
5 changed files with 15 additions and 76 deletions

View file

@ -1,12 +1,12 @@
import React from 'react';
import {Link, NavLink, Route} from "react-router-dom";
import {Link, Route} from "react-router-dom";
import Paginator, {
changePageHistory,
DEFAULT_LIMIT,
defaultSearchOrder,
defaultVideoOrder,
humanFileSize, PageContainer,
Progresses,
humanFileSize,
PageContainer,
scrollToTop,
searchOrders,
secondsToString,
@ -67,26 +67,17 @@ class ManageVideos extends React.Component {
<Container fluid>
<WROLModeMessage content='Cannot modify Videos'/>
<p>
<Button primary
onClick={this.download}
>
Download Videos
</Button>
<label>Download any missing videos</label>
<br/>
</p>
<p>
<Button secondary
id='refresh_videos'
onClick={this.refresh}
>
Refresh Video Files
</Button>
<label>Search for any videos in the media directory</label>
<label htmlFor='refresh_videos'>
Find any new video files. Remove any Videos which no longer have files.
</label>
</p>
{this.state.streamUrl && <Progresses streamUrl={this.state.streamUrl}/>}
</Container>
)
}