mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
LibraryPanels: Adds version column (#31590)
* Refactor: adds version column and fixes tests * Chore: adds version check when patching the library panel * Refactor: adds support for version in FrontEnd
This commit is contained in:
@@ -5,11 +5,10 @@ import { css } from 'emotion';
|
||||
import { useAsync, useDebounce } from 'react-use';
|
||||
import { getBackendSrv } from 'app/core/services/backend_srv';
|
||||
import { usePanelSave } from '../../utils/usePanelSave';
|
||||
import { PanelModel } from 'app/features/dashboard/state';
|
||||
import { getLibraryPanelConnectedDashboards, LibraryPanelDTO } from '../../state/api';
|
||||
import { getLibraryPanelConnectedDashboards, PanelModelWithLibraryPanel } from '../../state/api';
|
||||
|
||||
interface Props {
|
||||
panel: PanelModel & { libraryPanel: Pick<LibraryPanelDTO, 'uid' | 'name' | 'meta'> };
|
||||
panel: PanelModelWithLibraryPanel;
|
||||
folderId: number;
|
||||
isOpen: boolean;
|
||||
onConfirm: () => void;
|
||||
|
||||
Reference in New Issue
Block a user