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;
ruser := CreateUser(c, team, user)
if c.Err != nil {
return

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

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