diff --git a/CHANGELOG.md b/CHANGELOG.md index 62cffdd..d9ff66c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ * [#70](https://github.com/antoinezanardi/werewolves-assistant-web/issues/70) - Good translations when confirming that a role is picked but chosen anyway. +### ♻️ Refactoring + +* [#66](https://github.com/antoinezanardi/werewolves-assistant-web/issues/66) - `SubmitButton` component uses default template for button inner text. + ### 📦 Packages * `@sentry/browser` updated to version `5.27.4`. diff --git a/src/components/Game/GameContent/GamePlayField/GamePlayFieldFooter/GamePlayFieldFooter.vue b/src/components/Game/GameContent/GamePlayField/GamePlayFieldFooter/GamePlayFieldFooter.vue index 2012ee8..1ff7a59 100644 --- a/src/components/Game/GameContent/GamePlayField/GamePlayFieldFooter/GamePlayFieldFooter.vue +++ b/src/components/Game/GameContent/GamePlayField/GamePlayFieldFooter/GamePlayFieldFooter.vue @@ -23,8 +23,10 @@
+ :loading="loading" :disabled="!canSubmitPlay"> + + +
diff --git a/src/components/GameLobby/GameLobby.vue b/src/components/GameLobby/GameLobby.vue index bb48cfd..92ae00f 100644 --- a/src/components/GameLobby/GameLobby.vue +++ b/src/components/GameLobby/GameLobby.vue @@ -69,17 +69,21 @@ + :disabled="loading.createGame || !game.areThereEnoughPlayers"> + + +
+ :disabled="loading.getGameRepartition || !game.canStartGame"> + + +
diff --git a/src/components/GameLobby/GameLobbyAlreadyHavePlayingGame.vue b/src/components/GameLobby/GameLobbyAlreadyHavePlayingGame.vue index b3f33e3..b3e8ee2 100644 --- a/src/components/GameLobby/GameLobbyAlreadyHavePlayingGame.vue +++ b/src/components/GameLobby/GameLobbyAlreadyHavePlayingGame.vue @@ -30,8 +30,10 @@
- + + + +
@@ -40,8 +42,8 @@