Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parent comment linking when not showing context #2417

Merged
merged 1 commit into from Apr 11, 2024

Conversation

snan
Copy link
Contributor

@snan snan commented Apr 11, 2024

The same code is reused for the "show context" button as for the "link
to self" button. I'm not sure that's such a good idea in the long run.

There was a const parentCommentId that was always set even when not
having the showContext prop, causing the bug #2401.

@snan
Copy link
Contributor Author

snan commented Apr 11, 2024

(Trying to figure out what the linter wants by trial and error.)

@snan snan force-pushed the main branch 2 times, most recently from 01123eb to facb03e Compare April 11, 2024 10:56
The same code is reused for the "show context" button as for the "link
to self" button. I'm not sure that's such a good idea in the long run.

There was a const `parentCommentId` that was always set even when not
having the `showContext` prop, causing the bug LemmyNet#2401.
@snan
Copy link
Contributor Author

snan commented Apr 11, 2024

(The last force push was just to get in up to date with y'alls main since you were hacking at the same time. Letting go now!)

@dessalines
Copy link
Member

Thx!

@dessalines dessalines merged commit b983071 into LemmyNet:main Apr 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants