File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -260,23 +260,23 @@ export default class XmlStats {
260260
261261 // count up all the stats
262262 this . stats . summary = { } ;
263- if ( this . stats . vs . rank . length ) {
263+ if ( this . stats . vs ? .rank ? .length ) {
264264 this . stats . summary . vsRankTotal = this . stats . vs . rank . length ;
265265 }
266- if ( this . stats . vs . zeroVs . length ) {
266+ if ( this . stats . vs ? .zeroVs ? .length ) {
267267 this . stats . summary . vsWithNoStats = this . stats . vs . zeroVs . length ;
268268 }
269- if ( this . stats . gtm . wips . length ) {
269+ if ( this . stats . gtm ? .wips ? .length ) {
270270 this . stats . summary . wipsRankTotal = this . stats . gtm . wips . length ;
271271 }
272272
273- if ( this . stats . gtm . wips_no_stats . length ) {
273+ if ( this . stats . gtm ? .wips_no_stats ? .length ) {
274274 this . stats . summary . wipsNoStats = this . stats . gtm . wips_no_stats . length ;
275275 }
276- if ( this . stats . rule_stat . length ) {
276+ if ( this . stats . rule_stat ? .length ) {
277277 this . stats . summary . rulesRankTotal = this . stats . rule_stat . length ;
278278 }
279- if ( this . stats . rule_stat_none . length ) {
279+ if ( this . stats . rule_stat_none ? .length ) {
280280 this . stats . summary . rulesWithNoStats = this . stats . rule_stat_none . length ;
281281 }
282282
You can’t perform that action at this time.
0 commit comments