File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,10 @@ class LinkView extends React.Component<ILinkViewProps, ILinkViewState> {
7171 async componentDidMount ( ) {
7272 this . _isMounted = true
7373 if ( this . props . isNewLink ) {
74+ console . log ( '************ new link ************' )
7475 await this . initNewLink ( )
7576 } else {
77+ console . log ( '************ existing link ************' )
7678 await this . initExistingLink ( )
7779 }
7880 this . props . linkStore ! . setIsEditingDisabled ( ! this . props . isNewLink )
@@ -102,6 +104,8 @@ 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+ console . log ( '************ initExistingLink ************' )
108+ console . log ( this . props )
105109 if ( startNodeId && endNodeId && transitTypeCode ) {
106110 const link = await LinkService . fetchLink ( startNodeId , endNodeId , transitTypeCode )
107111 if ( ! link ) {
You can’t perform that action at this time.
0 commit comments