From a4a4d20abfef1d659a3d1fa12e4ef1626b1b5251 Mon Sep 17 00:00:00 2001 From: Alessandro Mazzoli Date: Wed, 18 Oct 2023 10:48:05 +0200 Subject: [PATCH] chore: fixed buy dev card --- .../scala/scatan/views/game/components/LeftTabComponent.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/scatan/views/game/components/LeftTabComponent.scala b/src/main/scala/scatan/views/game/components/LeftTabComponent.scala index cfdb1fb..be21a26 100644 --- a/src/main/scala/scatan/views/game/components/LeftTabComponent.scala +++ b/src/main/scala/scatan/views/game/components/LeftTabComponent.scala @@ -73,7 +73,7 @@ object LeftTabComponent: className := "game-view-button buy-development-card-button", "Buy Dev. Card", onClick --> { _ => clickHandler.onBuyDevelopmentCardClick() }, - disabled <-- gameViewModel.canBuyDevelopment + disabled <-- gameViewModel.canBuyDevelopment.map(!_) ), button( className := "game-view-button end-turn-button",