~cytrogen/masto-fe

a4bd5b06e6beafce9a41ffb1c24f80a496b9e2f3 — Ittihadyya 6 months ago caf3395
made fav & delete dialogs work on detailed posts – apparently i forgot to properly reference 'settings', now i feel really stupid :3
1 files changed, 2 insertions(+), 2 deletions(-)

M app/javascript/flavours/glitch/features/status/index.jsx
M app/javascript/flavours/glitch/features/status/index.jsx => app/javascript/flavours/glitch/features/status/index.jsx +2 -2
@@ 270,7 270,7 @@ class Status extends ImmutablePureComponent {
  };

  handleFavouriteClick = (status, e) => {
    const { dispatch } = this.props;
    const { settings, dispatch } = this.props;
    const { signedIn } = this.context.identity;

    if (signedIn) {


@@ 382,7 382,7 @@ class Status extends ImmutablePureComponent {
  };

  handleDeleteClick = (status, history, withRedraft = false) => {
    const { dispatch, intl } = this.props;
    const { settings, dispatch, intl } = this.props;

    if (!settings.get('confirm_delete')) {
      dispatch(deleteStatus(status.get('id'), history, withRedraft));