Migrate backendSrv to getBackendSrv, fix direct DB connection

This commit is contained in:
Alexander Zobnin
2020-03-20 17:03:49 +03:00
parent 58949be25e
commit dad0fd965d
14 changed files with 975 additions and 240 deletions

View File

@@ -1,7 +1,8 @@
import React, { FC } from 'react';
import { css, cx } from 'emotion';
import { Themeable, withTheme, Input, GrafanaTheme, EventsWithValidation, ValidationEvents } from '@grafana/ui';
import { Themeable, withTheme, Input, EventsWithValidation, ValidationEvents } from '@grafana/ui';
import { isRegex, variableRegex } from '../utils';
import { GrafanaTheme } from '@grafana/data';
const variablePattern = RegExp(`^${variableRegex.source}`);