fix: use entire_url() for chart data URLs to include module prefix
This commit is contained in:
parent
9cc59160e8
commit
80785e7ace
@ -2,7 +2,7 @@
|
|||||||
"widgettype": "ChartBar",
|
"widgettype": "ChartBar",
|
||||||
"options": {
|
"options": {
|
||||||
"height": "300px",
|
"height": "300px",
|
||||||
"data_url": "api/top_providers.dspy",
|
"data_url": "{{entire_url('api/top_providers.dspy')}}",
|
||||||
"nameField": "provider_name",
|
"nameField": "provider_name",
|
||||||
"valueFields": ["total_amount", "cnt"]
|
"valueFields": ["total_amount", "cnt"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
"widgettype": "ChartBar",
|
"widgettype": "ChartBar",
|
||||||
"options": {
|
"options": {
|
||||||
"height": "300px",
|
"height": "300px",
|
||||||
"data_url": "api/top_users.dspy",
|
"data_url": "{{entire_url('api/top_users.dspy')}}",
|
||||||
"nameField": "user_name",
|
"nameField": "user_name",
|
||||||
"valueFields": ["total_amount", "cnt"]
|
"valueFields": ["total_amount", "cnt"]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user