commit
26a47c5b85
@ -1,3 +1,3 @@ |
||||
Template.registerHelper('log', function() { |
||||
Template.registerHelper('log', () => { |
||||
console.log.apply(console, arguments); |
||||
}); |
||||
|
@ -0,0 +1,3 @@ |
||||
Template.registerHelper('not', (value) => { |
||||
return !value; |
||||
}); |
@ -0,0 +1,10 @@ |
||||
RocketChat.Migrations.add({ |
||||
version: 76, |
||||
up: function() { |
||||
if (RocketChat && RocketChat.models && RocketChat.models.Settings) { |
||||
RocketChat.models.Settings.find({section: 'Colors (alphas)'}).forEach((setting) => { |
||||
RocketChat.models.Settings.remove({ _id: setting._id }); |
||||
}); |
||||
} |
||||
} |
||||
}); |
Loading…
Reference in new issue