diff --git a/client/modules/IDE/components/SketchList.js b/client/modules/IDE/components/SketchList.js index f7919b9d..070308d5 100644 --- a/client/modules/IDE/components/SketchList.js +++ b/client/modules/IDE/components/SketchList.js @@ -38,16 +38,24 @@ class SketchList extends React.Component { {this.props.sketches.map(sketch => - + {(() => { // eslint-disable-line + console.log(this.props.username); + console.log(this.props.user.username); + if (this.props.username === this.props.user.username || this.props.username === undefined) { + return ( + + ); + } + })()} {sketch.name} {moment(sketch.createdAt).format('MMM D, YYYY h:mm:ss A')}