- Translate and add colors to IFTTT Rules dropdown.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2019-01-22 15:22:31 +02:00
parent d8482b533a
commit 44e4df2492
3 changed files with 19 additions and 18 deletions

View file

@ -3,7 +3,7 @@ const { calculateIndexData, enableClickOnTouch } = Utils;
let cardColors;
Meteor.startup(() => {
cardColors = Cards.simpleSchema()._schema['color'].allowedValues;
cardColors = Cards.simpleSchema()._schema.color.allowedValues;
});
BlazeComponent.extendComponent({