Browse Source

fix bug && 小改动

pull/4/head
欧醚 4 years ago
parent
commit
9312eab8de
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/javascript/mastodon/components/status_content.js
  2. +1
    -1
      app/javascript/mastodon/features/status/components/detailed_status.js

+ 1
- 1
app/javascript/mastodon/components/status_content.js View File

@ -182,7 +182,7 @@ export default class StatusContent extends React.PureComponent {
const hidden = this.props.onExpandedToggle ? !this.props.expanded : this.state.hidden;
const renderReadMore = this.props.onClick && status.get('collapsed');
const renderViewThread = this.props.showThread && status.get('in_reply_to_id') && status.get('in_reply_to_account_id') === status.getIn(['account', 'id']);
const renderViewThread = this.props.showThread && status.get('in_reply_to_id') //&& status.get('in_reply_to_account_id') === status.getIn(['account', 'id']);
const content = { __html: status.get('contentHtml') };
const spoilerContent = { __html: status.get('spoilerHtml') };

+ 1
- 1
app/javascript/mastodon/features/status/components/detailed_status.js View File

@ -6,7 +6,7 @@ import DisplayName from '../../../components/display_name';
import StatusContent from '../../../components/status_content';
import MediaGallery from '../../../components/media_gallery';
import { Link } from 'react-router-dom';
import { injectIntl, defineMessages, FormattedDate } from 'react-intl';
import { injectIntl, defineMessages, FormattedDate, FormattedNumber } from 'react-intl';
import Card from './card';
import ImmutablePureComponent from 'react-immutable-pure-component';
import Video from '../../video';

Loading…
Cancel
Save