Add full width widgets
This commit is contained in:
parent
ae1753bce6
commit
dac154f828
2 changed files with 8 additions and 2 deletions
|
@ -106,7 +106,13 @@ module.exports = React.createClass({
|
|||
|
||||
render: function() {
|
||||
const apps = this.state.apps.map(
|
||||
(app) => <AppTile key={app.id} id={app.id} url={app.url} name={app.name}/>);
|
||||
(app, index, arr) => <AppTile
|
||||
key={app.id}
|
||||
id={app.id}
|
||||
url={app.url}
|
||||
name={app.name}
|
||||
fullWdith={arr.length<2 ? true : false}
|
||||
/>);
|
||||
|
||||
return (
|
||||
<div className="mx_AppsDrawer">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue