summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-12-22 09:44:58 +0200
committerLauri Ojansivu <x@xet7.org>2019-12-22 09:44:58 +0200
commite142acfdb745747c020a1bd5b1974b619d5bdb6d (patch)
tree253d3c37cb4caa66167c4c9ad4f3bef2d395b2bb /client
parente928660bc0b1f873696fe5fece988a5be6fc2c4e (diff)
downloadwekan-e142acfdb745747c020a1bd5b1974b619d5bdb6d.tar.gz
wekan-e142acfdb745747c020a1bd5b1974b619d5bdb6d.tar.bz2
wekan-e142acfdb745747c020a1bd5b1974b619d5bdb6d.zip
Remove LINKED_CARDS_ENABLED settings, because it does not work.
Thanks to xet7 !
Diffstat (limited to 'client')
-rw-r--r--client/components/lists/listBody.jade7
-rw-r--r--client/components/lists/listBody.js6
2 files changed, 3 insertions, 10 deletions
diff --git a/client/components/lists/listBody.jade b/client/components/lists/listBody.jade
index 335e42cd..2f175205 100644
--- a/client/components/lists/listBody.jade
+++ b/client/components/lists/listBody.jade
@@ -49,10 +49,9 @@ template(name="addCardForm")
button.primary.confirm(type="submit") {{_ 'add'}}
unless currentBoard.isTemplatesBoard
unless currentBoard.isTemplateBoard
- if linkedCardsEnabled
- span.quiet
- | {{_ 'or'}}
- a.js-link {{_ 'link'}}
+ span.quiet
+ | {{_ 'or'}}
+ a.js-link {{_ 'link'}}
span.quiet
| &nbsp;
| /
diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js
index 2851b69a..b0974705 100644
--- a/client/components/lists/listBody.js
+++ b/client/components/lists/listBody.js
@@ -377,12 +377,6 @@ BlazeComponent.extendComponent({
},
}).register('addCardForm');
-Template.addCardForm.helpers({
- linkedCardsEnabled() {
- return Meteor.settings.public.linkedCardsEnabled;
- },
-});
-
BlazeComponent.extendComponent({
onCreated() {
this.selectedBoardId = new ReactiveVar('');