mirror of
https://github.com/wekan/wekan.git
synced 2026-02-11 02:34:20 +01:00
Remove LINKED_CARDS_ENABLED settings, because it does not work.
Thanks to xet7 !
This commit is contained in:
parent
e928660bc0
commit
e142acfdb7
13 changed files with 10 additions and 59 deletions
|
|
@ -1,17 +1,4 @@
|
|||
if (process.env.LINKED_CARDS_ENABLED === 'false') {
|
||||
Meteor.settings.public.linkedCardsEnabled = 'false';
|
||||
//Meteor.publish('card', cardId => {
|
||||
// check(cardId, String);
|
||||
// // TODO: test
|
||||
// return Cards.find({
|
||||
// _id: cardId,
|
||||
// linkedId: { $ne: [null, ''] },
|
||||
// });
|
||||
//});
|
||||
} else {
|
||||
Meteor.settings.public.linkedCardsEnabled = 'true';
|
||||
Meteor.publish('card', cardId => {
|
||||
check(cardId, String);
|
||||
return Cards.find({ _id: cardId });
|
||||
});
|
||||
}
|
||||
Meteor.publish('card', cardId => {
|
||||
check(cardId, String);
|
||||
return Cards.find({ _id: cardId });
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue