mirror of
https://github.com/wekan/wekan.git
synced 2026-01-25 18:56:10 +01:00
Some fixes to make WeKan working after Meteor 3 related router upgrades.
Thanks to xet7 !
This commit is contained in:
parent
c8bdb95b38
commit
984a2dcec1
2 changed files with 5 additions and 6 deletions
|
|
@ -74,12 +74,12 @@ Activities.before.insert((userId, doc) => {
|
|||
doc.modifiedAt = doc.createdAt;
|
||||
});
|
||||
|
||||
Activities.after.insert((userId, doc) => {
|
||||
const activity = Activities._transform(doc);
|
||||
RulesHelper.executeRules(activity);
|
||||
});
|
||||
|
||||
if (Meteor.isServer) {
|
||||
Activities.after.insert((userId, doc) => {
|
||||
const activity = Activities._transform(doc);
|
||||
RulesHelper.executeRules(activity);
|
||||
});
|
||||
|
||||
// For efficiency create indexes on the date of creation, and on the date of
|
||||
// creation in conjunction with the card or board id, as corresponding views
|
||||
// are largely used in the App. See #524.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue