mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-06-27 17:09:53 -04:00
WebUI: Restore node default collapse state
By default, nodes should be expanded until explicitly collapsed. This restores the default behavior which changed in b4a16f6464
.
Relevant: https://github.com/qbittorrent/qBittorrent/pull/21645#discussion_r2150695297
PR #22879.
This commit is contained in:
parent
d702a02c1f
commit
254f39f89d
1 changed files with 1 additions and 1 deletions
|
@ -2724,7 +2724,7 @@ window.qBittorrent.DynamicTable ??= (() => {
|
|||
|
||||
if (node.isFolder) {
|
||||
if (!this.collapseState.has(node.rowId))
|
||||
this.collapseState.set(node.rowId, { depth: depth, collapsed: depth > 0 });
|
||||
this.collapseState.set(node.rowId, { depth: depth, collapsed: false });
|
||||
const data = {
|
||||
rowId: node.rowId,
|
||||
size: node.size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue