mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Using LINKED_CARDS_ENABLED
This commit is contained in:
parent
07724f99ae
commit
0a1e7006b3
3 changed files with 27 additions and 4 deletions
|
|
@ -5,6 +5,17 @@ BlazeComponent.extendComponent({
|
|||
onCreated() {
|
||||
// for infinite scrolling
|
||||
this.cardlimit = new ReactiveVar(InfiniteScrollIter);
|
||||
this.linkCardsEnabled = new ReactiveVar(true);
|
||||
|
||||
Meteor.call('getLinkedCardsEnabled', (error, ret) => {
|
||||
if (!error && ret) {
|
||||
this.linkCardsEnabled.set(ret);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
linkCardsEnabled() {
|
||||
return this.linkCardsEnabled.get();
|
||||
},
|
||||
|
||||
mixins() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue