console: dynamically fetch available dimensions

This commit is contained in:
Vincent Bernat
2022-05-16 10:11:12 +02:00
parent 42545c9a11
commit 34f153d9cd
10 changed files with 224 additions and 94 deletions

View File

@@ -513,3 +513,7 @@ func (c *Component) graphHandlerFunc(gc *gin.Context) {
gc.JSON(http.StatusOK, output)
}
func (c *Component) graphFieldsHandlerFunc(gc *gin.Context) {
gc.JSON(http.StatusOK, graphColumnMap.Values())
}