mirror of
https://github.com/wekan/wekan.git
synced 2026-01-02 15:48:49 +01:00
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
This commit is contained in:
parent
cc88e78483
commit
d644cba38f
13 changed files with 252 additions and 95 deletions
5
server/publications/unsavedEdits.js
Normal file
5
server/publications/unsavedEdits.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
Meteor.publish('unsaved-edits', function() {
|
||||
return UnsavedEditCollection.find({
|
||||
userId: this.userId
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue