context = window RecordingActions = @RecordingActions @SessionFilesBtn = React.createClass({ getInitialState: () -> {} openChat: () -> if this.props.isLesson this.props.app.layout.showDialog('chat-dialog', {d1: 'lesson_' + this.props.lessonId}) else this.props.app.layout.showDialog('chat-dialog', {d1: 'session_' + this.props.sessionId}) render: () -> ` FILES ` })