change Map to List in model, scalajs didn't decode

This commit is contained in:
efim
2023-04-23 23:15:59 +04:00
parent f3e51a4750
commit 77b34a2ca7
4 changed files with 5 additions and 28 deletions

View File

@@ -23,7 +23,7 @@ object TestModels {
me = me.id,
allowedCards = List("xs", "s", "m", "l", "xl"),
round = RoundState.Viewing(
Map(me.id -> "xs", pony.id -> "l", birdy.id -> "s", horsey.id -> "m")
List(me.id -> "xs", pony.id -> "l", birdy.id -> "s", horsey.id -> "m")
),
canCloseRound = true
)
@@ -98,7 +98,7 @@ object TestModels {
me = me.id,
allowedCards = List("xs", "s", "m", "l", "xl"),
round = RoundState.Viewing(
Map(me.id -> "m", pony.id -> "l", birdy.id -> "s", horsey.id -> "m")
List(me.id -> "m", pony.id -> "l", birdy.id -> "s", horsey.id -> "m")
),
canCloseRound = true
)