problems: fix type imports
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import React, { PureComponent } from 'react';
|
import React, { PureComponent } from 'react';
|
||||||
import { ZBXTrigger } from 'panel-triggers/types';
|
import { ZBXTrigger } from '../../types';
|
||||||
|
|
||||||
interface AlertAcknowledgesProps {
|
interface AlertAcknowledgesProps {
|
||||||
problem: ZBXTrigger;
|
problem: ZBXTrigger;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React, { CSSProperties } from 'react';
|
import React, { CSSProperties } from 'react';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { ZBXTrigger } from 'panel-triggers/types';
|
import { ZBXTrigger } from '../../types';
|
||||||
|
|
||||||
interface AlertIconProps {
|
interface AlertIconProps {
|
||||||
problem: ZBXTrigger;
|
problem: ZBXTrigger;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { ZBXAcknowledge } from 'panel-triggers/types';
|
import { ZBXAcknowledge } from '../../types';
|
||||||
|
|
||||||
interface AcknowledgesListProps {
|
interface AcknowledgesListProps {
|
||||||
acknowledges: ZBXAcknowledge[];
|
acknowledges: ZBXAcknowledge[];
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import FAIcon from '../FAIcon';
|
import FAIcon from '../FAIcon';
|
||||||
import Tooltip from '../Tooltip/Tooltip';
|
import Tooltip from '../Tooltip/Tooltip';
|
||||||
import { ZBXTrigger } from 'panel-triggers/types';
|
import { ZBXTrigger } from '../../types';
|
||||||
|
|
||||||
export interface ProblemStatusBarProps {
|
export interface ProblemStatusBarProps {
|
||||||
problem: ZBXTrigger;
|
problem: ZBXTrigger;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React, { PureComponent } from 'react';
|
import React, { PureComponent } from 'react';
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { GFTimeRange, ZBXEvent, ZBXAcknowledge } from 'panel-triggers/types';
|
import { GFTimeRange, ZBXEvent, ZBXAcknowledge } from '../../types';
|
||||||
|
|
||||||
const DEFAULT_OK_COLOR = 'rgb(56, 189, 113)';
|
const DEFAULT_OK_COLOR = 'rgb(56, 189, 113)';
|
||||||
const DEFAULT_PROBLEM_COLOR = 'rgb(215, 0, 0)';
|
const DEFAULT_PROBLEM_COLOR = 'rgb(215, 0, 0)';
|
||||||
|
|||||||
Reference in New Issue
Block a user