Skip to content

Commit

Permalink
chore: ignore case when sort (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryWn12 authored Dec 27, 2024
1 parent 4022838 commit 6c050ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/store/obj.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export type OrderBy = "name" | "size" | "modified"

export const sortObjs = (orderBy: OrderBy, reverse?: boolean) => {
log("sort:", orderBy, reverse)
naturalSort.insensitive = true;
setObjStore(
"objs",
produce((objs) =>
Expand Down

0 comments on commit 6c050ea

Please sign in to comment.