vote: Fix logic to hide graph if week is active
The goal is to not display the graph until the active week has been changed, but the logic retuned early if it wasn't. Simplify the query and check directly if the current week is the last one, if so do not show the graph.
This commit is contained in:
parent
5ec38ee44f
commit
4e1b13dc85
3 changed files with 3 additions and 4 deletions
|
@ -3,7 +3,7 @@ name = "fabula_votes_server"
|
|||
license = "MPL-2.0"
|
||||
readme = "README.md"
|
||||
authors = ["trotFunky"]
|
||||
version = "1.2.0"
|
||||
version = "1.2.1"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue