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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] retarget property not overridden in HtmxResponse#and method #72

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

xhaggi
Copy link
Contributor

@xhaggi xhaggi commented Sep 12, 2023

Probably a copy/paste error 馃槃

if (otherResponse.getHeaderRedirect() != null) {
this.headerRedirect = otherResponse.getHeaderRedirect();
if (otherResponse.getHeaderRetarget() != null) {
this.headerRetarget = otherResponse.getHeaderRetarget();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the main change of the PR. (Couldn't find it in the reformatting) Thanks for splitting the commits.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would always review commit by commit, not the whole PR diff.

@wimdeblauwe wimdeblauwe added this to the 3.1.0 milestone Sep 12, 2023
@wimdeblauwe wimdeblauwe merged commit e4dd70b into wimdeblauwe:main Sep 12, 2023
1 check passed
@xhaggi xhaggi deleted the fix-htmx-response-and branch September 13, 2023 07:05
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

3 participants