forked from grafana.jool/grafana-jool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
263 B
6 lines
263 B
import { DashboardModel } from '../../app/features/dashboard/state';
|
|
|
|
export const getDashboardModel = (json: any, meta: any = {}) => {
|
|
const getVariablesFromState = () => json.templating.list;
|
|
return new DashboardModel(json, meta, getVariablesFromState);
|
|
};
|
|
|