Skip to content

Commit

Permalink
changes order of filtering to alphabetical
Browse files Browse the repository at this point in the history
  • Loading branch information
shuklavk committed Sep 17, 2020
1 parent ba7af1a commit 13b44ef
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 32 deletions.
6 changes: 4 additions & 2 deletions src/Timeline.css
Expand Up @@ -45,10 +45,12 @@
.filterDiv {
overflow: hidden;
overflow-y: scroll;
height: 100%;
height: 90%;
}
.timelineModalDiv:hover {
.timelineModalDiv {
position: fixed;
overflow-y: scroll;
height: 90%;
}
}

Expand Down
60 changes: 30 additions & 30 deletions src/Timeline.js
Expand Up @@ -31,24 +31,24 @@ import './Timeline.css';

export default () => {
const allCompanies = [
'Facebook',
'Google',
'Adobe',
'Amazon',
'Apple',
'Netflix',
'Uber',
'Cisco',
'Facebook',
'Google',
'HP',
'Palantir',
'Twitter',
'IBM',
'Intel',
'Microsoft',
'Netflix',
'Oracle',
'Palantir',
'Paypal',
'Microsoft',
'Salesforce',
'Adobe',
'IBM',
'Intel',
'Spotify',
'Cisco',
'Twitter',
'Uber',
];
const allYears = [
'2009',
Expand All @@ -65,38 +65,38 @@ export default () => {
'Ongoing',
];
const allCountries = [
'Internet',
'France',
'Germany',
'USA',
'China',
'Worldwide',
'Afghanistan',
'UK',
'Belgium',
'China',
'France',
'Qatar',
'Palestine',
'India',
'France',
'Germany',
'Ghana',
'India',
'Internet',
'Israel',
'Palestine',
'Qatar',
'UK',
'USA',
'Worldwide',
];
const allProtests = [
'Class Action Lawsuit',
'Company Policy',
'Consumer Outrage',
'Discrimination',
'Environmental Cause',
'Ethics',
'Forced Arbitration',
'Foreign Working Conditions',
'Job Security',
'Labor/Wage',
'Tax Evasion',
'Discrimination',
'Class Action Lawsuit',
'Public Resignation',
'Sexual Harassment',
'Forced Arbitration',
'Company Policy',
'Sexual Harassment',
'Job Security',
'Tax Evasion',
'Tech Presence',
'Public Resignation',
'Foreign Working Conditions',
'Environmental Cause',
'Other',
];
const [cardId, setCardId] = useState(0);
Expand Down

0 comments on commit 13b44ef

Please sign in to comment.