diff --git a/module/blades-helpers.js b/module/blades-helpers.js index fb11943..3873b3d 100644 --- a/module/blades-helpers.js +++ b/module/blades-helpers.js @@ -177,7 +177,11 @@ export class BladesHelpers { compendium_items = compendium_content.map(e => {return e.data}); list_of_items = game_items.concat(compendium_items); - + list_of_items.sort(function(a, b) { + let nameA = a.name.toUpperCase(); + let nameB = b.name.toUpperCase(); + return nameA.localeCompare(nameB); + }); return list_of_items; } diff --git a/templates/items/faction.html b/templates/items/faction.html index 7d6820e..4240485 100644 --- a/templates/items/faction.html +++ b/templates/items/faction.html @@ -17,7 +17,7 @@ - {{#if isGm }} + {{#if isGM }} Clock {{data.goal_1_clock_max}}:
{{data.goal_1}}

Clock {{data.goal_2_clock_max}}:
{{data.goal_2}}