Skip to content

Commit

Permalink
fix(tags): sort tags by name
Browse files Browse the repository at this point in the history
  • Loading branch information
yomatters committed Nov 5, 2024
1 parent b51aeac commit e25b2bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ export const useResourceGroups = () => {
: null,
});

tags.sort((a, b) => a.name.localeCompare(b.name));

const tagIds = tags.map((tag) => tag.tagId);

const resourceCategories = [
Expand Down

0 comments on commit e25b2bd

Please sign in to comment.