aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-11-07 15:14:29 +0100
committerJulius Härtl <jus@bitgrid.net>2018-11-07 16:04:51 +0100
commitd110f0c29c52fb9e0f8eace98d3cf3f6f63bb0c7 (patch)
tree3b21ec70597aaf6c51267ab037a6a70eb360c258 /core
parent836ba4f4192d042921507f9eea4ff69b4d54480e (diff)
downloadnextcloud-server-d110f0c29c52fb9e0f8eace98d3cf3f6f63bb0c7.tar.gz
nextcloud-server-d110f0c29c52fb9e0f8eace98d3cf3f6f63bb0c7.zip
Also use default label if share label is null
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core')
-rw-r--r--core/js/sharedialoglinkshareview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js
index 4ce337357a0..e10193067db 100644
--- a/core/js/sharedialoglinkshareview.js
+++ b/core/js/sharedialoglinkshareview.js
@@ -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'),