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
|
@ -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 New Issue