File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -71,9 +71,11 @@ class LinkView extends React.Component<ILinkViewProps, ILinkViewState> {
7171 async componentDidMount ( ) {
7272 this . _isMounted = true ;
7373 if ( this . props . isNewLink ) {
74- await this . initNewLink ( ) ;
74+ console . log ( '************ new link ************' )
75+ await this . initNewLink ( )
7576 } else {
76- await this . initExistingLink ( ) ;
77+ console . log ( '************ existing link ************' )
78+ await this . initExistingLink ( )
7779 }
7880 this . props . linkStore ! . setIsEditingDisabled ( ! this . props . isNewLink ) ;
7981 EventListener . on ( 'geometryChange' , ( ) => this . props . linkStore ! . setIsEditingDisabled ( false ) ) ;
@@ -102,6 +104,9 @@ class LinkView extends React.Component<ILinkViewProps, ILinkViewState> {
102104 this . props . linkStore ! . clear ( ) ;
103105
104106 const [ startNodeId , endNodeId , transitTypeCode ] = this . props . match ! . params . id . split ( ',' ) ;
107+
108+ console . log ( '************ initExistingLink ************' )
109+ console . log ( this . props )
105110 if ( startNodeId && endNodeId && transitTypeCode ) {
106111 const link = await LinkService . fetchLink ( startNodeId , endNodeId , transitTypeCode ) ;
107112 if ( ! link ) {
You can’t perform that action at this time.
0 commit comments