show custom fabled first

This commit is contained in:
Steffen 2021-04-15 21:06:53 +02:00
parent 2b5c98d661
commit 0d41e9fd46
No known key found for this signature in database
GPG Key ID: 764D74E98267DFC6
1 changed files with 2 additions and 2 deletions

View File

@ -214,8 +214,8 @@ export default new Vuex.Store({
); );
// update Fabled to include custom Fabled from this script // update Fabled to include custom Fabled from this script
state.fabled = new Map([ state.fabled = new Map([
...fabledJSON.map(role => [role.id, role]), ...processedRoles.filter(r => r.team === "fabled").map(r => [r.id, r]),
...processedRoles.filter(r => r.team === "fabled").map(r => [r.id, r]) ...fabledJSON.map(role => [role.id, role])
]); ]);
// update extraTravelers map to only show travelers not in this script // update extraTravelers map to only show travelers not in this script
state.otherTravelers = new Map( state.otherTravelers = new Map(