File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
src/components/containers Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -11,48 +11,23 @@ class TraceRequiredPanel extends Component {
1111 render ( ) {
1212 const { localize : _ } = this . context ;
1313 const { children, ...rest } = this . props ;
14- < << << << HEAD
15- = === ===
16- let showPanel = true ;
17- let heading = '' ;
18- > >>> >>> e9befe5 . . . add GraphCreatePanel link to empty panel
1914
2015 if ( ! this . props . visible ) {
2116 return null ;
2217 }
2318
24- < << << << HEAD
2519 return this . hasTrace ( ) ? (
2620 < LayoutPanel { ...rest } > { children } </ LayoutPanel >
2721 ) : (
2822 < PanelEmpty
2923 heading = { _ ( "Looks like there aren't any traces defined yet." ) }
3024 >
31- =======
32- if (!this.hasTrace()) {
33- showPanel = false ;
34- heading = _ ( "Looks like there aren't any traces defined yet." ) ;
35- }
36-
37- return showPanel ? (
38- < LayoutPanel { ...rest } > { children } </ LayoutPanel >
39- ) : (
40- < PanelEmpty heading = { heading } >
41- >>> >>> > e9befe5 ... add GraphCreatePanel link to empty panel
4225 < p >
4326 { _ ( 'Go to the ' ) }
4427 < a onClick = { ( ) => this . context . setPanel ( 'Graph' , 'Create' ) } >
4528 { _ ( 'Create' ) }
4629 </ a >
47- < << << << HEAD
48- << << << < HEAD
49- { _ ( ' panel to define traces.' ) }
50- = === ===
51- { _ ( ' tab to define traces.' ) }
52- > >>> >>> e9befe5 ... add GraphCreatePanel link to empty panel
53- === === =
5430 { _ ( ' panel to define traces.' ) }
55- >>> >>> > b220435 ... add links to Subplots panel
5631 </ p >
5732 </ PanelEmpty >
5833 ) ;
You can’t perform that action at this time.
0 commit comments