summaryrefslogtreecommitdiff
path: root/app/client/modules/pix2pixhd/views/pix2pixhd.live.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-09-04 13:53:30 +0200
committerJules Laplace <julescarbon@gmail.com>2018-09-04 13:53:30 +0200
commit25815ab4916dc8c9e3256cbfe53bea0535930f30 (patch)
tree4d87860e82ede57780497c6016e54bf1af68ca91 /app/client/modules/pix2pixhd/views/pix2pixhd.live.js
parent56619248e5032b644ec7a8e215bd59aecad86c73 (diff)
fix loading bars
Diffstat (limited to 'app/client/modules/pix2pixhd/views/pix2pixhd.live.js')
-rw-r--r--app/client/modules/pix2pixhd/views/pix2pixhd.live.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/client/modules/pix2pixhd/views/pix2pixhd.live.js b/app/client/modules/pix2pixhd/views/pix2pixhd.live.js
index 41ff7e5..52b4b61 100644
--- a/app/client/modules/pix2pixhd/views/pix2pixhd.live.js
+++ b/app/client/modules/pix2pixhd/views/pix2pixhd.live.js
@@ -100,7 +100,7 @@ class Pix2PixHDLive extends Component {
render(){
// console.log(this.props)
if (this.props.pix2pixhd.loading) {
- return <Loading />
+ return <Loading progress={this.props.pix2pixhd.progress} />
}
const { folderLookup, datasetLookup, sequences } = this.props.pix2pixhd.data
@@ -140,6 +140,7 @@ class Pix2PixHDLive extends Component {
options: datasets.sort(),
}
}).filter(n => !!n && !!n.options.length).sort((a,b) => a.name.localeCompare(b.name))
+
return (
<div className='app live centered'>
<Player width={424} height={256} fullscreen={this.props.fullscreen} />