mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Add a 'settings' link to the user menu in static pages
This commit is contained in:
parent
370ae81106
commit
9a7c2dd5e2
@ -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'},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user