diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-09-26 15:30:15 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-09-26 15:30:15 +0200 |
| commit | d260e3a65bdec981fd98db8a2352caa9bef9ae55 (patch) | |
| tree | ce04d69a1ed647c89b5dab93391c383d6beff14f /frontend/app/views/page/components/tile.new.js | |
| parent | a17b76ac75f506f5da6fe8adf9c36632b60d4226 (diff) | |
finalizing fixing refactor!!
Diffstat (limited to 'frontend/app/views/page/components/tile.new.js')
| -rw-r--r-- | frontend/app/views/page/components/tile.new.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/app/views/page/components/tile.new.js b/frontend/app/views/page/components/tile.new.js index fb609a5..b491fdd 100644 --- a/frontend/app/views/page/components/tile.new.js +++ b/frontend/app/views/page/components/tile.new.js @@ -35,7 +35,7 @@ class TileNew extends Component { graph={this.props.graph.show.res} page={this.props.page.show.res} initialData={null} - sortOrder={this.props.page.show.res.tiles.length} + sortOrder={this.props.page.show.res.tiles ? this.props.page.show.res.tiles.length : []} onSubmit={this.handleSubmit.bind(this)} /> ) |
