Skip to content

Commit

Permalink
Sort abi by name
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexagon committed Oct 16, 2024
1 parent 2cc29ee commit 7d0e96c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ExecutorAbiForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ enum LoadAbiType {
}
const DEFAULT_ABI_NAME = 'abi1';
const COLLATOR = new Intl.Collator(undefined, { numeric: true, sensitivity: 'base' });
const getAllAbis = () => Object.keys(localStorage);
const getAllAbis = () => Object.keys(localStorage).sort(COLLATOR.compare);
const props = defineProps<{
address?: string;
Expand Down

0 comments on commit 7d0e96c

Please sign in to comment.