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.
 
 
 
 
 
 

7 lines
279 B

import { PanelModel } from 'app/features/dashboard/state';
import { StoreState } from 'app/types';
import { PanelState } from './reducers';
export function getPanelStateForModel(state: StoreState, model: PanelModel): PanelState | undefined {
return state.panels[model.key];
}