oleeskild / digitalgarden

275 stars 159 forks source link

Add null checks for empty dataview queries #157

Closed ransurf closed 1 year ago

ransurf commented 1 year ago

If you have a dataview query in a note that does not return any results, the current dataview styling throws an error as it tries to access .classList of null

oleeskild commented 1 year ago

Right, thanks for taking the time to create a PR 🎉