diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-01-22 16:45:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-22 16:45:29 +0200 |
commit | 6e28dec712a6fac74a42fa1b5a071e40390547fe (patch) | |
tree | eacc534069d691552c83892e6af5cd016ad58f57 | |
parent | 7261ccdc9074b443adb36e9365ba512eb74ffdfe (diff) | |
parent | ba9f0ca6720ff1bf2e775ae8b71ff82a23bb37e4 (diff) | |
download | wekan-6e28dec712a6fac74a42fa1b5a071e40390547fe.tar.gz wekan-6e28dec712a6fac74a42fa1b5a071e40390547fe.tar.bz2 wekan-6e28dec712a6fac74a42fa1b5a071e40390547fe.zip |
Merge pull request #2119 from bentiss/fix-color-translation
Fix: Translate and add colors to IFTTT Rules dropdown."
-rw-r--r-- | client/components/rules/triggers/cardTriggers.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/components/rules/triggers/cardTriggers.js b/client/components/rules/triggers/cardTriggers.js index ca282fa7..82b21d61 100644 --- a/client/components/rules/triggers/cardTriggers.js +++ b/client/components/rules/triggers/cardTriggers.js @@ -8,6 +8,8 @@ BlazeComponent.extendComponent({ if (labels[i].name === '' || labels[i].name === undefined) { labels[i].name = labels[i].color; labels[i].translatedname = `${TAPi18n.__(`color-${ labels[i].color}`)}`; + } else { + labels[i].translatedname = labels[i].name; } } return labels; |