mcndt / obsidian-toggl-integration

A Toggl integration plugin for the popular knowledge base application Obsidian.
GNU General Public License v3.0
282 stars 20 forks source link

TypeError: groups is not iterable #45

Closed mcndt closed 2 years ago

mcndt commented 2 years ago

On query:

list 
past 2 weeks
include projects "Reading"
group by date
sort desc

The group by expression causes the following console error and an infinite loading spinner:

image

Note that the query only includes a single project.

Solution:

  1. Resolve bug
  2. Make future exceptions bubble up to the Svelte component such that it can display an error message instead of infinite loading.