From 63a21a50fd7117ea0c75f45f0f577725919ed658 Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Sun, 3 Dec 2023 09:43:46 +0000 Subject: [PATCH] Don't display status code twice in UI errors --- crates/librqbit/webui/src/http-api.ts | 2 +- crates/librqbit/webui/src/rqbit-web.tsx | 2 +- desktop/src-tauri/Cargo.toml | 2 +- desktop/src-tauri/tauri.conf.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/librqbit/webui/src/http-api.ts b/crates/librqbit/webui/src/http-api.ts index a69ad8c..cdeab88 100644 --- a/crates/librqbit/webui/src/http-api.ts +++ b/crates/librqbit/webui/src/http-api.ts @@ -30,7 +30,7 @@ const makeRequest = async (method: string, path: string, data?: any): Promise return null; } return <> -

{details.status && {details.status} {details.statusText}}

+ {details.statusText &&

{details.statusText}

}
{details.text}
diff --git a/desktop/src-tauri/Cargo.toml b/desktop/src-tauri/Cargo.toml index 1ba2094..8c4ad38 100644 --- a/desktop/src-tauri/Cargo.toml +++ b/desktop/src-tauri/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rqbit-desktop" version = "0.0.0" -description = "A Tauri App" +description = "rqbit torrent client" authors = ["you"] license = "" repository = "" diff --git a/desktop/src-tauri/tauri.conf.json b/desktop/src-tauri/tauri.conf.json index b10d091..c9ce214 100644 --- a/desktop/src-tauri/tauri.conf.json +++ b/desktop/src-tauri/tauri.conf.json @@ -37,7 +37,7 @@ "fullscreen": false, "resizable": true, "title": "rqbit", - "width": 800, + "width": 992, "height": 600 } ]