fix testing UI hack

This commit is contained in:
Matthew Hodgson 2016-04-14 19:11:20 +01:00
parent 81d5e16225
commit 0741e8a5c1
2 changed files with 11 additions and 7 deletions

View file

@ -45,6 +45,17 @@ module.exports = React.createClass({displayName: 'UploadBar',
render: function() {
var uploads = ContentMessages.getCurrentUploads();
// for testing UI... - also fix up the ContentMessages.getCurrentUploads().length
// check in RoomView
//
// uploads = [{
// roomId: this.props.room.roomId,
// loaded: 123493,
// total: 347534,
// fileName: "testing_fooble.jpg",
// }];
if (uploads.length == 0) {
return <div />
}