Hide duplicated owned pads settings for anon users

pull/1/head
yflory 6 years ago
parent 047a4a3ab4
commit 6140952763

@ -779,6 +779,7 @@ define([
// Drive settings // Drive settings
create['drive-duplicate'] = function () { create['drive-duplicate'] = function () {
if (!common.isLoggedIn()) { return; }
var $div = $('<div>', { var $div = $('<div>', {
'class': 'cp-settings-drive-duplicate cp-sidebarlayout-element' 'class': 'cp-settings-drive-duplicate cp-sidebarlayout-element'
}); });

Loading…
Cancel
Save