|
@@ -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() {
|