Skip to content

Commit

Permalink
minor merge bugs - working version
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Jun 30, 2024
1 parent 6f4477f commit 1edb8d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class StatusActionBar extends ImmutablePureComponent {
};

handleQuoteClick = () => {
const { signedIn } = this.context.identity;
const { signedIn } = this.props.identity;

if (signedIn) {
this.props.onQuote(this.props.status, this.context.router.history);
Expand Down
4 changes: 2 additions & 2 deletions app/javascript/flavours/glitch/features/status/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -344,11 +344,11 @@ class Status extends ImmutablePureComponent {
};

handleQuoteClick = (status) => {
const { signedIn } = this.context.identity;
const { signedIn } = this.props.identity;
const { dispatch } = this.props;

if (signedIn) {
dispatch(quoteCompose(status, this.context.router.history));
dispatch(quoteCompose(status, this.props.history));
} else {
dispatch(openModal('INTERACTION', {
type: 'reply',
Expand Down
1 change: 0 additions & 1 deletion app/models/status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ class Status < ApplicationRecord
quote: [
:application,
:tags,
:preview_cards,
:media_attachments,
:conversation,
:status_stat,
Expand Down

0 comments on commit 1edb8d3

Please sign in to comment.