mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Revert public dashboard granularity fix (#55844)
This commit is contained in:
parent
81b631d1e9
commit
6674407d3f
@ -374,10 +374,11 @@ async function getDataSource(
|
|||||||
return datasource;
|
return datasource;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ds = await getDatasourceSrv().get(datasource, scopedVars);
|
// TODO: Retrieve datasource to pass as argument to PublicDashboardDataSource
|
||||||
|
// const ds = await getDatasourceSrv().get(datasource, scopedVars);
|
||||||
if (publicDashboardAccessToken) {
|
if (publicDashboardAccessToken) {
|
||||||
return new PublicDashboardDataSource(ds);
|
return new PublicDashboardDataSource(datasource);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ds;
|
return await getDatasourceSrv().get(datasource, scopedVars);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user