Merge pull request #25017 from nextcloud/fix-clearing-the-label-of-a-share

Fix clearing the label of a share
This commit is contained in:
Roeland Jago Douma 2021-01-08 12:39:12 +01:00 committed by GitHub
commit 08cc9ad496
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

@ -141,7 +141,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"