Fix: timer templ
This commit is contained in:
		| @@ -25,7 +25,7 @@ | |||||||
|   <hr /> |   <hr /> | ||||||
|   {{if .Room.IsRunning}} |   {{if .Room.IsRunning}} | ||||||
|     <p>Turn of the <span class="text-{{.Room.TeamTurn}}-500">{{.Room.TeamTurn}}</span> team</p> |     <p>Turn of the <span class="text-{{.Room.TeamTurn}}-500">{{.Room.TeamTurn}}</span> team</p> | ||||||
| {{template "turntimer" .Room.Settings}} | {{template "turntimer" .Room}} | ||||||
|     {{if .Room.MimeDone}} |     {{if .Room.MimeDone}} | ||||||
|     <p class="text-{{.Room.TeamTurn}}-500 text-xl">Waiting for guessers</p> |     <p class="text-{{.Room.TeamTurn}}-500 text-xl">Waiting for guessers</p> | ||||||
|     <p class="text-{{.Room.TeamTurn}}-500 text-xl">Given Clue: "{{.Room.FetchLastClueWord}}"</p> |     <p class="text-{{.Room.TeamTurn}}-500 text-xl">Given Clue: "{{.Room.FetchLastClueWord}}"</p> | ||||||
|   | |||||||
| @@ -81,6 +81,9 @@ func saveFullInfo(ctx context.Context, fi *models.FullInfo) error { | |||||||
| 		return err | 		return err | ||||||
| 	} | 	} | ||||||
| 	log.Debug("saved user state", "state", fi.State) | 	log.Debug("saved user state", "state", fi.State) | ||||||
|  | 	// save or update | ||||||
|  | 	// fi.Room.Cards | ||||||
|  | 	// fi.Room.WCMap | ||||||
| 	if err := repo.RoomUpdate(ctx, fi.Room); err != nil { | 	if err := repo.RoomUpdate(ctx, fi.Room); err != nil { | ||||||
| 		return err | 		return err | ||||||
| 	} | 	} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder