Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
fix hide/show tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
maykar committed Jan 10, 2020
1 parent b9c5883 commit 8e977d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ export const processTabArray = array => {
const rangeTest = array[i].replace(/ /g, '').split('to');
if (!(rangeTest[0].match(/[a-z]/g) || rangeTest[1].match(/[a-z]/g))) ranges.push(buildRange(array[i]));
else ranges.push(array[i]);
} else {
ranges.push(array[i]);
}
}
ranges = ranges.flat();
Expand Down

0 comments on commit 8e977d2

Please sign in to comment.