Skip to content

Commit

Permalink
Required updates after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilander committed May 26, 2016
1 parent 9773997 commit 2f1b124
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import PostStore from 'stores/post_store.jsx';
import ChannelStore from 'stores/channel_store.jsx';

import AppDispatcher from '../dispatcher/app_dispatcher.jsx';
import AppDispatcher from 'dispatcher/app_dispatcher.jsx';

import Client from 'utils/web_client.jsx';
import * as AsyncClient from 'utils/async_client.jsx';
Expand All @@ -16,7 +16,7 @@ import {FormattedMessage} from 'react-intl';

import React from 'react';

export default class PendingPostActions extends React.Component {
export default class PendingPostOptions extends React.Component {
constructor(props) {
super(props);
this.retryPost = this.retryPost.bind(this);
Expand Down Expand Up @@ -87,6 +87,6 @@ export default class PendingPostActions extends React.Component {
}
}

PendingPostActions.propTypes = {
PendingPostOptions.propTypes = {
post: React.PropTypes.object
};
4 changes: 2 additions & 2 deletions webapp/components/post_view/components/post_body.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as Utils from 'utils/utils.jsx';
import Constants from 'utils/constants.jsx';
import * as TextFormatting from 'utils/text_formatting.jsx';
import PostBodyAdditionalContent from './post_body_additional_content.jsx';
import PendingPostActions from './pending_post_actions.jsx';
import PendingPostOptions from './pending_post_options.jsx';

import {FormattedMessage} from 'react-intl';

Expand Down Expand Up @@ -111,7 +111,7 @@ export default class PostBody extends React.Component {
let loading;
if (post.state === Constants.POST_FAILED) {
postClass += ' post--fail';
loading = <PendingPostActions post={this.props.post}/>;
loading = <PendingPostOptions post={this.props.post}/>;
} else if (post.state === Constants.POST_LOADING) {
postClass += ' post-waiting';
loading = (
Expand Down
4 changes: 2 additions & 2 deletions webapp/components/rhs_comment.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import UserProfile from './user_profile.jsx';
import FileAttachmentList from './file_attachment_list.jsx';
import PendingPostActions from './pending_post_actions.jsx';
import PendingPostOptions from 'components/post_view/components/pending_post_options.jsx';

import TeamStore from 'stores/team_store.jsx';
import UserStore from 'stores/user_store.jsx';
Expand Down Expand Up @@ -163,7 +163,7 @@ export default class RhsComment extends React.Component {

if (post.state === Constants.POST_FAILED) {
postClass += ' post-fail';
loading = <PendingPostActions post={this.props.post}/>;
loading = <PendingPostOptions post={this.props.post}/>;
} else if (post.state === Constants.POST_LOADING) {
postClass += ' post-waiting';
loading = (
Expand Down

0 comments on commit 2f1b124

Please sign in to comment.