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(attachment): allow captions to be deleted #1047

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

Thomaash
Copy link
Contributor

This worked in v1.3.5 but it was removed in 7f742dc#diff-e002f6f45c988abee91b7486a2bf15b07762e0d230d3d279847a7098cd7ab5abL69-R68 which I believe was a mistake: "" is an empty caption that in v1.3.5 would restore the default caption ("" is not loosely equal to null) but since v2 it does nothing ("" is falsy).

This worked in v1.3.5 but it was removed in
basecamp@7f742dc#diff-e002f6f45c988abee91b7486a2bf15b07762e0d230d3d279847a7098cd7ab5abL69-R68
which I believe was a mistake: `""` is an empty caption that in v1.3.5
would restore the default caption (`""` is not loosely equal to `null`)
but since v2 it does nothing (`""` is falsy).
@afcapel afcapel merged commit 7c727e0 into basecamp:main Mar 28, 2023
@afcapel
Copy link
Contributor

afcapel commented Mar 28, 2023

Thanks @Thomaash 🙏

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.

2 participants