PWV-2: Added missing dependencies for Worklist package and prevents removal of server config collections...
This commit is contained in:
parent
ed86c14807
commit
337525c27d
@ -52,7 +52,9 @@ Meteor.startup(function() {
|
||||
for (var property in global) {
|
||||
var object = global[property];
|
||||
if (object instanceof Meteor.Collection) {
|
||||
object.remove({});
|
||||
if (!(/^server|currentServer$/).test(object._name)) {
|
||||
object.remove({});
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@ -17,6 +17,7 @@ Package.onUse(function (api) {
|
||||
api.use('silentcicero:jszip');
|
||||
api.use('aldeed:simple-schema');
|
||||
api.use('accounts-base');
|
||||
api.use('mrt:moment');
|
||||
|
||||
// Note: MomentJS appears to be required for Bootstrap3 Datepicker, but not a dependency for some reason
|
||||
api.use('momentjs:moment');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user