Skip to content

Commit 1fd878f

Browse files
committed
period labels
1 parent cc0c670 commit 1fd878f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/Toolbar/Toolbar.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ const Toolbar = props => {
8888
let pe_ar = pe.split(';');
8989
pe = `${humanizePe(pe_ar[0])} - ${humanizePe(pe_ar[pe_ar.length - 1])}`;
9090
} else {
91-
// pe = humanizePe(pe);
91+
if( !isNaN(parseInt(pe)) ){
92+
pe = humanizePe(pe);
93+
}
9294
}
9395

9496
///-----

0 commit comments

Comments
 (0)