mirror of
https://github.com/atuinsh/atuin.git
synced 2025-06-26 21:01:46 +02:00
fix(ui): fix mistake in last pr (#2053)
This commit is contained in:
parent
b49c73de3e
commit
bf2788259c
@ -89,7 +89,6 @@ async fn home_info() -> Result<HomeInfo, String> {
|
|||||||
.map_err(|e| e.to_string())?;
|
.map_err(|e| e.to_string())?;
|
||||||
|
|
||||||
|
|
||||||
let session_path = settings.session_path.as_str();
|
|
||||||
let last_sync = Settings::last_sync()
|
let last_sync = Settings::last_sync()
|
||||||
.map_err(|e| e.to_string())?
|
.map_err(|e| e.to_string())?
|
||||||
.format(&Rfc3339)
|
.format(&Rfc3339)
|
||||||
@ -101,7 +100,7 @@ async fn home_info() -> Result<HomeInfo, String> {
|
|||||||
.await
|
.await
|
||||||
.map_err(|e| e.to_string())?;
|
.map_err(|e| e.to_string())?;
|
||||||
|
|
||||||
let info = if settings.logged_in() {
|
let info = if !settings.logged_in() {
|
||||||
HomeInfo {
|
HomeInfo {
|
||||||
username: None,
|
username: None,
|
||||||
last_sync: None,
|
last_sync: None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user