Small changes and code clean-up

Этот коммит содержится в:
Reed Garmsen
2015-07-07 13:18:10 -07:00
родитель 91511281c5
Коммит ff4b94f02b
2 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@@ -135,8 +135,6 @@ func createUser(c *Context, w http.ResponseWriter, r *http.Request) {
user.EmailVerified = true user.EmailVerified = true
} }
user.EmailVerified = true;
ruser := CreateUser(c, team, user) ruser := CreateUser(c, team, user)
if c.Err != nil { if c.Err != nil {
return return

Просмотреть файл

@@ -83,7 +83,7 @@ module.exports = React.createClass({
(moreChannels.length ? (moreChannels.length ?
<table className="more-channel-table table"> <table className="more-channel-table table">
<tbody> <tbody>
{this.state.channels.map(function(channel) { {moreChannels.map(function(channel) {
return ( return (
<tr key={channel.id}> <tr key={channel.id}>
<td> <td>
@@ -108,7 +108,7 @@ module.exports = React.createClass({
<div id="round_3" className="round"></div> <div id="round_3" className="round"></div>
</div> </div>
</div>} </div>}
{ server_error } { server_error }
</div> </div>
<div className="modal-footer"> <div className="modal-footer">
<button type="button" className="btn btn-default" data-dismiss="modal">Close</button> <button type="button" className="btn btn-default" data-dismiss="modal">Close</button>