mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Variables: migrates data source variable type to React/Redux (#22770)
* Refactor: moves all the newVariables part to features/variables directory * Feature: adds datasource type * Tests: adds reducer tests * Tests: covers data source actions with tests * Chore: reduces strict null errors
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
import { connect, MapStateToProps } from 'react-redux';
|
||||
import { StoreState } from '../../../../types';
|
||||
import { getVariableClones } from '../../../templating/state/selectors';
|
||||
import { getVariableClones } from '../../../variables/state/selectors';
|
||||
import { VariableHide, VariableModel } from '../../../templating/variable';
|
||||
import { DashboardModel } from '../../state';
|
||||
import { AngularDashboardLinks } from './AngularDashboardLinks';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { FunctionComponent, useEffect, useState } from 'react';
|
||||
import { VariableHide, VariableModel } from '../../../templating/variable';
|
||||
import { e2e } from '@grafana/e2e';
|
||||
import { PickerRenderer } from '../../../templating/pickers/PickerRenderer';
|
||||
import { PickerRenderer } from '../../../variables/pickers/PickerRenderer';
|
||||
|
||||
interface Props {
|
||||
variables: VariableModel[];
|
||||
|
||||
Reference in New Issue
Block a user