mirror of
https://github.com/atuinsh/atuin.git
synced 2025-02-16 10:30:44 +01: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())?;
|
||||
|
||||
|
||||
let session_path = settings.session_path.as_str();
|
||||
let last_sync = Settings::last_sync()
|
||||
.map_err(|e| e.to_string())?
|
||||
.format(&Rfc3339)
|
||||
@ -101,7 +100,7 @@ async fn home_info() -> Result<HomeInfo, String> {
|
||||
.await
|
||||
.map_err(|e| e.to_string())?;
|
||||
|
||||
let info = if settings.logged_in() {
|
||||
let info = if !settings.logged_in() {
|
||||
HomeInfo {
|
||||
username: None,
|
||||
last_sync: None,
|
||||
|
Loading…
Reference in New Issue
Block a user