Skip to content

insights: fix sql error on landing page when no insights exist

Warren Gifford requested to merge insights/fix-landing-page-no-insights into main

Created by: leonore

closes #32510 (closed)

Test plan

Ran insight store unit test. Compared behaviour of insights landing page before/after change, with a sg instance launched using sg start enterprise-codeinsights

Prior to the change, insights/ and /insights/dashboards would display an SQL error. After the change, the landing page is correct and invites you to create an insight.

Merge request reports

Loading