cbrooker / MMM-Todoist

This is an extension for the MagicMirror2 platform. It will display your Todoist todos on your MagicMirror.
MIT License
151 stars 58 forks source link

filtering tasks by label name instead of id #112

Closed mossglenn closed 1 year ago

mossglenn commented 1 year ago

SyncAPI returns an array of label names (not an array of id numbers) for each task item, so there is no need to convert the names in config.labels to ids. Filtering using label now compares strings in the item's Label array to the strings in config.labels array.