mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-08-02 12:24:52 +02:00
improve sync ui
This commit is contained in:
parent
b08267a08c
commit
ed63ffa394
8 changed files with 129 additions and 51 deletions
|
|
@ -74,6 +74,7 @@ struct App {
|
|||
openid: SteamOpenId,
|
||||
api: String,
|
||||
maps: String,
|
||||
sync: String,
|
||||
map_list: MapList,
|
||||
pub session_store: MemoryStore,
|
||||
}
|
||||
|
|
@ -156,6 +157,7 @@ async fn main() -> Result<()> {
|
|||
.expect("invalid steam login url"),
|
||||
api: config.site.api,
|
||||
maps: config.site.maps,
|
||||
sync: config.site.sync,
|
||||
map_list,
|
||||
session_store: session_store.clone(),
|
||||
});
|
||||
|
|
@ -518,6 +520,7 @@ async fn viewer(
|
|||
ViewerPage {
|
||||
demo,
|
||||
maps: &app.maps,
|
||||
sync: &app.sync,
|
||||
},
|
||||
session,
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue