diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index b07adc422..6660cac5b 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -1199,7 +1199,7 @@ define([ content: Messages.user_rename }); } - if (parsed && parsed.type && parsed.type !== 'settings') { + if (parsed && (!parsed.type || parsed.type !== 'settings')) { options.push({ tag: 'a', attributes: {'class': 'settings'},