pf2e-sage-stats 0.4.5 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.js +1 -1
- package/package.json +1 -1
package/dist/app.js
CHANGED
|
@@ -900,7 +900,7 @@ const parseTrackerCommands = (line) => {
|
|
|
900
900
|
return actions;
|
|
901
901
|
};
|
|
902
902
|
exports.parseTrackerCommands = parseTrackerCommands;
|
|
903
|
-
const sameTag = (entry, tag) => (entry.id === tag || entry.alias === tag || entry.name
|
|
903
|
+
const sameTag = (entry, tag) => (entry.id.toLowerCase() === tag.toLowerCase() || entry.alias.toLowerCase() === tag.toLowerCase() || entry.name.toLowerCase().includes(tag.toLowerCase()));
|
|
904
904
|
const findCharacter = (tracker, tag) => (tracker.chars.find((entry) => sameTag(entry, tag)));
|
|
905
905
|
const findCharacterOrChild = (tracker, tag) => {
|
|
906
906
|
var _a;
|