mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Also use default label if share label is null
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
836ba4f419
commit
d110f0c29c
1 changed files with 1 additions and 1 deletions
|
|
@ -825,7 +825,7 @@
|
|||
return _.extend({}, share, {
|
||||
cid: share.id,
|
||||
shareAllowed: true,
|
||||
linkShareLabel: share.label !== '' ? share.label : t('core', 'Share link'),
|
||||
linkShareLabel: share.label ? share.label : t('core', 'Share link'),
|
||||
popoverMenu: {},
|
||||
shareLinkURL: share.url,
|
||||
newShareTitle: t('core', 'New share link'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue