mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
WebUI: Conditionally show filters sidebar
This fixes a bug where the filters sidebar would always be displayed when switching back to the Transfers tab. Closes #19257. PR #20600.
This commit is contained in:
parent
5d1c249606
commit
489bacd766
1 changed files with 5 additions and 2 deletions
|
@ -1147,8 +1147,11 @@ window.addEventListener("DOMContentLoaded", function() {
|
|||
// main window tabs
|
||||
|
||||
const showTransfersTab = function() {
|
||||
const showFiltersSidebar = LocalPreferences.get("show_filters_sidebar", "true") === "true";
|
||||
if (showFiltersSidebar) {
|
||||
$("filtersColumn").removeClass("invisible");
|
||||
$("filtersColumn_handle").removeClass("invisible");
|
||||
}
|
||||
$("mainColumn").removeClass("invisible");
|
||||
$('torrentsFilterToolbar').removeClass("invisible");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue