mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-22 04:38:11 +00:00
update pathfinder
This commit is contained in:
@@ -43,7 +43,7 @@ const migrateSystemsToTags = (brew) => {
|
|||||||
'5e': 'system:D&D 5e',
|
'5e': 'system:D&D 5e',
|
||||||
'4e': 'system:D&D 4e',
|
'4e': 'system:D&D 4e',
|
||||||
'3.5e': 'system:D&D 3.5e',
|
'3.5e': 'system:D&D 3.5e',
|
||||||
'Pathfinder': 'system:Pathfinder'
|
'Pathfinder': 'system:Pathfinder 2e'
|
||||||
};
|
};
|
||||||
const systemTags = brew.systems.map(s => systemMap[s]);
|
const systemTags = brew.systems.map(s => systemMap[s]);
|
||||||
brew.tags = _.uniq([...(brew.tags || []), ...systemTags]);
|
brew.tags = _.uniq([...(brew.tags || []), ...systemTags]);
|
||||||
|
|||||||
Reference in New Issue
Block a user