Skip to content

Fix bug where you cannot select "do not monitor mounts" from config.json

Andrew requested to merge bugfix/config-empty-mounts into dev

What does this MR do and why?

Fixes bug where you cannot select "do not monitor mounts" from config.json. This would result in a 0 value which our API constraints would throw an error for. This tells JS to treat 0 like an empty list for that particular key.

Resolves #310 (closed)

How to set up and validate locally

In config.json select "show no mounts on dash" then press save.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • Have you checked this doesn't interfere/conflict/duplicate someone elses work?
  • Have you fully tested your changes?
  • Have you resolved any lint issues?
  • Have you assigned a reviewer?
  • Have you applied correct labels?
Edited by Andrew

Merge request reports