From 0d41e9fd4631ced8d33cadae1f88219dfad4aa2e Mon Sep 17 00:00:00 2001 From: Steffen Date: Thu, 15 Apr 2021 21:06:53 +0200 Subject: [PATCH] show custom fabled first --- src/store/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index bd9aee0..35088bb 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -214,8 +214,8 @@ export default new Vuex.Store({ ); // update Fabled to include custom Fabled from this script 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 state.otherTravelers = new Map(