diff --git a/src-tauri/src/handlers/cmd.rs b/src-tauri/src/handlers/cmd.rs index 9a96f1082..c8bd7aaf0 100644 --- a/src-tauri/src/handlers/cmd.rs +++ b/src-tauri/src/handlers/cmd.rs @@ -177,7 +177,7 @@ pub fn open_app_directory(app: AppHandle) { } #[tauri::command] -pub fn open_file_explorer(app: AppHandle, path: String) { +pub fn open_file_explorer(path: String) { let path = PathBuf::from(path); if cfg!(target_os = "windows") { std::process::Command::new("explorer") diff --git a/web/containers/Layout/BottomPanel/SystemMonitor/index.tsx b/web/containers/Layout/BottomPanel/SystemMonitor/index.tsx index d9a0b289a..05ec643fe 100644 --- a/web/containers/Layout/BottomPanel/SystemMonitor/index.tsx +++ b/web/containers/Layout/BottomPanel/SystemMonitor/index.tsx @@ -91,7 +91,7 @@ const SystemMonitor = () => {
onRevealInFinder('Logs')} + onClick={() => onRevealInFinder('logs')} > App Log
diff --git a/web/containers/ModalTroubleShoot/AppLogs.tsx b/web/containers/ModalTroubleShoot/AppLogs.tsx index 7b0a31a5d..0dedb540f 100644 --- a/web/containers/ModalTroubleShoot/AppLogs.tsx +++ b/web/containers/ModalTroubleShoot/AppLogs.tsx @@ -41,7 +41,7 @@ const AppLogs = () => {