mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
NewPanelEdit: Adding repeating options (#22984)
* NewPanelEdit: Adding repeating options * Added all repeat options * reduce strict null errors
This commit is contained in:
@@ -29,7 +29,7 @@ export interface OwnProps {
|
||||
}
|
||||
|
||||
export interface ConnectedProps {
|
||||
plugin?: PanelPlugin;
|
||||
plugin?: PanelPlugin | null;
|
||||
}
|
||||
|
||||
export interface DispatchProps {
|
||||
|
||||
@@ -31,7 +31,7 @@ interface OwnProps {
|
||||
}
|
||||
|
||||
interface ConnectedProps {
|
||||
angularComponent: AngularComponent;
|
||||
angularComponent?: AngularComponent | null;
|
||||
}
|
||||
|
||||
interface DispatchProps {
|
||||
|
||||
@@ -22,7 +22,7 @@ export interface Props {
|
||||
title?: string;
|
||||
description?: string;
|
||||
scopedVars?: ScopedVars;
|
||||
angularComponent?: AngularComponent;
|
||||
angularComponent?: AngularComponent | null;
|
||||
links?: DataLink[];
|
||||
error?: string;
|
||||
isFullscreen: boolean;
|
||||
@@ -108,7 +108,7 @@ export class PanelHeader extends Component<Props, State> {
|
||||
return (
|
||||
<Tooltip content={notice.text} key={notice.severity}>
|
||||
{notice.inspect ? (
|
||||
<div className="panel-info-notice" onClick={e => this.openInspect(e, notice.inspect)}>
|
||||
<div className="panel-info-notice" onClick={e => this.openInspect(e, notice.inspect!)}>
|
||||
<span className="fa fa-info-circle" style={{ marginRight: '8px', cursor: 'pointer' }} />
|
||||
</div>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user