Skip to content

Commit

Permalink
correction
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragsalian committed Sep 8, 2020
1 parent e7b3d86 commit e299fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/page/home/sidebar/SidebarLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import {View} from 'react-native';
import _ from 'underscore';
import PropTypes from 'prop-types';
import lodashOrderBy from 'lodash.orderby';
import lodashOrderby from 'lodash.orderby';
import styles from '../../../style/StyleSheet';
import Text from '../../../components/Text';
import SidebarLink from './SidebarLink';
Expand Down Expand Up @@ -58,7 +58,7 @@ class SidebarLinks extends React.Component {
render() {
const {reports, onLinkClick} = this.props;
const reportIDInUrl = parseInt(this.props.match.params.reportID, 10);
const sortedReports = lodashOrderBy(this.props.reports, ['pinnedReport', 'reportName'], ['desc', 'asc']);
const sortedReports = lodashOrderby(this.props.reports, ['pinnedReport', 'reportName'], ['desc', 'asc']);

// Filter the reports so that the only reports shown are pinned, unread, and the one matching the URL
// eslint-disable-next-line max-len
Expand Down

0 comments on commit e299fb3

Please sign in to comment.