diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-12-22 09:44:58 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-12-22 09:44:58 +0200 |
commit | e142acfdb745747c020a1bd5b1974b619d5bdb6d (patch) | |
tree | 253d3c37cb4caa66167c4c9ad4f3bef2d395b2bb /client/components/lists | |
parent | e928660bc0b1f873696fe5fece988a5be6fc2c4e (diff) | |
download | wekan-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/components/lists')
-rw-r--r-- | client/components/lists/listBody.jade | 7 | ||||
-rw-r--r-- | client/components/lists/listBody.js | 6 |
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 | | / 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(''); |