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

[stable20] Fix clearing the label of a share #25035

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

backportbot-nextcloud[bot]
Copy link

@backportbot-nextcloud backportbot-nextcloud bot commented Jan 8, 2021

⚠️ This backport had conflicts and is incomplete ⚠️

backport of #25017

@danxuliu
Copy link
Member

danxuliu commented Jan 8, 2021

/compile amend /

When the label is being edited its value is stored in "newLabel", and
the original label is shown only if "newLabel" is not set. However, as
it was checked against any falsy value instead of only undefined when
the label was cleared and thus it has an empty value the original label
was shown instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
@npmbuildbot-nextcloud npmbuildbot-nextcloud bot force-pushed the backport/25017/stable20 branch from aee7ebe to b078f28 Compare January 8, 2021 17:30
@rullzer rullzer mentioned this pull request Jan 11, 2021
1 task
@MorrisJobke MorrisJobke merged commit 43ec70d into stable20 Jan 11, 2021
@MorrisJobke MorrisJobke deleted the backport/25017/stable20 branch January 11, 2021 09:02
@MorrisJobke
Copy link
Member

Psalm fix is in #25066

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants