Merge pull request #25035 from nextcloud/backport/25017/stable20

[stable20] Fix clearing the label of a share
This commit is contained in:
Morris Jobke 2021-01-11 10:02:21 +01:00 committed by GitHub
commit 43ec70d43b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -138,7 +138,7 @@
:class="{ error: errors.label }"
:disabled="saving"
:aria-label="t('files_sharing', 'Share label')"
:value="share.newLabel || share.label"
:value="share.newLabel !== undefined ? share.newLabel : share.label"
icon="icon-edit"
maxlength="255"
@update:value="onLabelChange"