Skip to content

Commit

Permalink
[beta] Translation improvements in Logs.vue. "Delete" Button in insta…
Browse files Browse the repository at this point in the history
…nce logs fix
  • Loading branch information
DIDIRUS4 committed Feb 3, 2024
1 parent c331763 commit 884c059
Show file tree
Hide file tree
Showing 7 changed files with 72 additions and 58 deletions.
62 changes: 35 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion theseus/src/api/logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ pub async fn delete_logs_by_filename(

let logs_folder = DirectoryInfo::profile_logs_dir(&profile_path).await?;
let path = logs_folder.join(filename);
io::remove_dir_all(&path).await?;
io::remove_file(&path).await?;
tracing::info!("Removed {:?}", &path);
Ok(())
}

Expand Down
2 changes: 1 addition & 1 deletion theseus_gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@vitejs/plugin-vue": "^4.6.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-vue": "^9.21.0",
"eslint-plugin-vue": "^9.21.1",
"prettier": "^2.8.8",
"sass": "^1.70.0",
"vite": "^4.5.2",
Expand Down
50 changes: 25 additions & 25 deletions theseus_gui/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 884c059

Please sign in to comment.