Update props in FileTile
- Add fileInfo - Remove path (now calculated from fileInfo)
This commit is contained in:
parent
ac32ec366a
commit
5fcedd0d01
1 changed files with 1 additions and 1 deletions
|
@ -9,12 +9,12 @@ let FileTile = React.createClass({
|
||||||
|
|
||||||
propTypes: {
|
propTypes: {
|
||||||
metadata: React.PropTypes.object.isRequired,
|
metadata: React.PropTypes.object.isRequired,
|
||||||
|
fileInfo: React.PropTypes.string,
|
||||||
name: React.PropTypes.string,
|
name: React.PropTypes.string,
|
||||||
sdHash: React.PropTypes.string,
|
sdHash: React.PropTypes.string,
|
||||||
available: React.PropTypes.bool,
|
available: React.PropTypes.bool,
|
||||||
isMine: React.PropTypes.bool,
|
isMine: React.PropTypes.bool,
|
||||||
local: React.PropTypes.bool,
|
local: React.PropTypes.bool,
|
||||||
path: React.PropTypes.string,
|
|
||||||
cost: React.PropTypes.number,
|
cost: React.PropTypes.number,
|
||||||
costIncludesData: React.PropTypes.bool,
|
costIncludesData: React.PropTypes.bool,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue