mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
Fixed showing translations always, regardsless of is ROOT_URL set correctly or not.
Thanks to xet7 !
This commit is contained in:
parent
f8ee929cf7
commit
1a7bd65e59
3 changed files with 25 additions and 4 deletions
|
|
@ -12,10 +12,15 @@ Meteor.publish('activities', (kind, id, limit, showActivities) => {
|
|||
return ['board', 'card'].indexOf(x) !== -1;
|
||||
}),
|
||||
);
|
||||
check(id, String);
|
||||
check(id, Match.Maybe(String));
|
||||
check(limit, Number);
|
||||
check(showActivities, Boolean);
|
||||
|
||||
// Return empty cursor if id is null or undefined
|
||||
if (!id) {
|
||||
return this.ready();
|
||||
}
|
||||
|
||||
// Get linkedBoard
|
||||
let linkedElmtId = [id];
|
||||
if (kind == 'board') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue