File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -610,15 +610,16 @@ BookService BookRepository Receipt Notification
610610 updateExternalLibCount ( ) {
611611 // Calculate no. of external libs
612612 var noOfExternalLibs = 0 ;
613- if ( ! this . state . currentItem . externalLibs ) {
614- return ;
615- }
616- noOfExternalLibs += this . state . currentItem . externalLibs . js
617- . split ( '\n' )
618- . filter ( lib => ! ! lib ) . length ;
619- noOfExternalLibs += this . state . currentItem . externalLibs . css
620- . split ( '\n' )
621- . filter ( lib => ! ! lib ) . length ;
613+ // There is no external libs
614+ // if (!this.state.currentItem.externalLibs) {
615+ // return;
616+ // }
617+ // noOfExternalLibs += this.state.currentItem.externalLibs.js
618+ // .split('\n')
619+ // .filter(lib => !!lib).length;
620+ // noOfExternalLibs += this.state.currentItem.externalLibs.css
621+ // .split('\n')
622+ // .filter(lib => !!lib).length;
622623 this . setState ( {
623624 externalLibCount : noOfExternalLibs
624625 } ) ;
You can’t perform that action at this time.
0 commit comments