mirror of
https://github.com/wekan/wekan.git
synced 2026-01-15 05:58:51 +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.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import { ReactiveCache } from '/imports/reactiveCache';
|
||||
import { Settings } from '../../models/settings';
|
||||
|
||||
Meteor.publish('globalwebhooks', () => {
|
||||
const boardId = Integrations.Const.GLOBAL_WEBHOOK_ID;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue