wekan/server/publications/unsavedEdits.js
Maxime Quandalle d644cba38f Replace the component bounded cachedValue by a global UnsavedEdits
This new draft saving system is currently only implemented for the
card description and comment. We need better a component
inheritance/composition model to support this for all editable fields.

Fixes #186
2015-08-31 15:52:16 +02:00

5 lines
117 B
JavaScript

Meteor.publish('unsaved-edits', function() {
return UnsavedEditCollection.find({
userId: this.userId
});
});