Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
rlinoz committed Mar 4, 2024
1 parent 761d0c6 commit 49582a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/PolicyUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ function getTagLists(policyTagList: OnyxEntry<PolicyTagList>): Array<PolicyTagLi
return [];
}

return Object.values(policyTagList).filter((policyTagListValue) => policyTagListValue !== null)
return Object.values(policyTagList)
.filter((policyTagListValue) => policyTagListValue !== null)
.sort((tagA, tagB) => tagA.orderWeight - tagB.orderWeight);
}

Expand Down

0 comments on commit 49582a5

Please sign in to comment.