Skip to content
Snippets Groups Projects
Commit 04b63f8a authored by Fabien Quatravaux's avatar Fabien Quatravaux
Browse files

feature: Make the dashboard target configurable

parent db1395ae
No related branches found
No related tags found
No related merge requests found
......@@ -302,6 +302,9 @@ Module declaration, on `config.json`:
"type": "dashboard",
"endpoints": {
"get": "http://server.url/dashboards/"
},
"parameters": {
"target": "default"
}
}
```
......
div.padding-top-xlarge.padding-right-xsmall.padding-bottom-xlarge.padding-left-xsmall.sm-padding-top-medium.bg-color-grey.whitespace-normal
solid-dashboard(
data-src=`${component.endpoints.get}`
target=`${component.parameters && component.parameters.target ? component.parameters.target : 'default' }`
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment