split user notification prefs

This commit is contained in:
Sacha Greif 2016-05-09 13:32:34 +09:00
parent 9245fc339f
commit 0265d4fa07

View file

@ -24,7 +24,11 @@ Users.addField([
insertableIf: Users.is.memberOrAdmin,
editableIf: Users.is.ownerOrAdmin
}
},
}
]);
if (typeof Comments !== "undefined") {
Users.addField([
{
fieldName: 'telescope.notifications_comments',
fieldSchema: {
@ -49,4 +53,5 @@ Users.addField([
editableIf: Users.is.ownerOrAdmin
}
}
]);
]);
}