mirror of https://github.com/bra1n/townsquare.git
fixing comment for clarity
This commit is contained in:
parent
df12930762
commit
db8f23a572
|
@ -194,8 +194,7 @@ export default new Vuex.Store({
|
||||||
// convert to Map
|
// convert to Map
|
||||||
.map(role => [role.id, role])
|
.map(role => [role.id, role])
|
||||||
);
|
);
|
||||||
|
// update extraTravelers map to only show travelers not in this script
|
||||||
// update travelers by edition list
|
|
||||||
state.otherTravelers = new Map(
|
state.otherTravelers = new Map(
|
||||||
rolesJSON
|
rolesJSON
|
||||||
.filter(r => r.team === "traveler" && !roles.some(i => i.id === r.id))
|
.filter(r => r.team === "traveler" && !roles.some(i => i.id === r.id))
|
||||||
|
|
Loading…
Reference in New Issue