Skip to content

Commit eeb723c

Browse files
Merge pull request #18 from fedwiki/ward/sort
Proper Sort Order
2 parents 76a6861 + 733c247 commit eeb723c

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wiki-plugin-plugmatic",
3-
"version": "1.5.0",
3+
"version": "1.5.1",
44
"description": "Federated Wiki - Plugmatic Plugin",
55
"keywords": [
66
"plugmatic",

src/client/browse.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export function browse(data, $item) {
2626
if (system.includes(plugin.plugin)) return category == 'system'
2727
return category == (have || 'option')
2828
})
29+
.toSorted((a,b) => a.plugin.localeCompare(b.plugin))
2930
.map(format)
3031
.join('\n')}`,
3132
)

0 commit comments

Comments
 (0)