Skip to content

Commit

Permalink
Sort bblocks in register.html
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Aug 8, 2023
1 parent 8ffdb0f commit 6148613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/main-register.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ $(document).ready(function () {

$.get("./register.json")
.then(bblocks => {
bblocks.forEach(bblock => {
bblocks.sort((a, b) => a.itemIdentifier.localeCompare(b.itemIdentifier)).forEach(bblock => {
const docLink = bblock.documentation.slate.url;

const $parent = $('<div>')
Expand Down

0 comments on commit 6148613

Please sign in to comment.