mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 09:52:12 +08:00

* Chore: reduce barrel files * chore: fixes unit test * Chore: reduces barrel files part II * chore: fix import sorting
9 lines
297 B
TypeScript
9 lines
297 B
TypeScript
import { PanelModel } from 'app/features/dashboard/state/PanelModel';
|
|
import { StoreState } from 'app/types/store';
|
|
|
|
import { PanelState } from './reducers';
|
|
|
|
export function getPanelStateForModel(state: StoreState, model: PanelModel): PanelState | undefined {
|
|
return state.panels[model.key];
|
|
}
|