Skip to content

Commit

Permalink
fix: lower case before sort in setting page
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Apr 26, 2023
1 parent a7d8774 commit 4661e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/settings/InitialSettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class InitialSettingsPage extends React.Component {
getDefaultMenuItems() {
const policiesAvatars = _.chain(this.props.policies)
.filter(policy => PolicyUtils.shouldShowPolicy(policy, this.props.network.isOffline))
.sortBy(policy => policy.name)
.sortBy(policy => policy.name.toLowerCase())
.map(policy => ({
source: policy.avatar || ReportUtils.getDefaultWorkspaceAvatar(policy.name),
name: policy.name,
Expand Down

0 comments on commit 4661e01

Please sign in to comment.