Skip to content
Commit fb19d4af authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez Committed by npmbuildbot-nextcloud[bot]
Browse files

Fix clearing the label of a share



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: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: default avatarnpmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
parent d6d8fc42
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment