mirror of
https://github.com/vale981/Vulcan
synced 2025-03-08 19:11:38 -05:00
split user notification prefs
This commit is contained in:
parent
9245fc339f
commit
0265d4fa07
1 changed files with 29 additions and 24 deletions
|
@ -24,7 +24,11 @@ Users.addField([
|
||||||
insertableIf: Users.is.memberOrAdmin,
|
insertableIf: Users.is.memberOrAdmin,
|
||||||
editableIf: Users.is.ownerOrAdmin
|
editableIf: Users.is.ownerOrAdmin
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
if (typeof Comments !== "undefined") {
|
||||||
|
Users.addField([
|
||||||
{
|
{
|
||||||
fieldName: 'telescope.notifications_comments',
|
fieldName: 'telescope.notifications_comments',
|
||||||
fieldSchema: {
|
fieldSchema: {
|
||||||
|
@ -49,4 +53,5 @@ Users.addField([
|
||||||
editableIf: Users.is.ownerOrAdmin
|
editableIf: Users.is.ownerOrAdmin
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue