Skip to content

Commit

Permalink
improve distinctions page
Browse files Browse the repository at this point in the history
  • Loading branch information
userXinos committed Oct 31, 2023
1 parent 2e14c5e commit 1bfddcc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/pages/Distinctions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,10 @@

<script setup>
import Page from '@/components/Page.vue';
import data from '@Data/distinctions.js';
import distinctions from '@Data/distinctions.js';
import objectArrayify from '@Utils/objectArrayify';
const data = objectArrayify(distinctions, {
sort: ([, a], [, b]) => (a.GroupPriority ?? -100) - (b.GroupPriority ?? -100),
});
</script>
2 changes: 2 additions & 0 deletions src/regulation/hideKeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ export default {
'GoogleID',
'UnlockType',
'GroupPriority',
'ListGroupName',
'BadgeGroupName',
'ShowOnPlayerBadge',
'PreviewLevel',
'ActivationTargetFX',
Expand Down

0 comments on commit 1bfddcc

Please sign in to comment.