mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Restore node default collapse state
By default, nodes should be expanded until explicitly collapsed. This restores the default behavior which changed in b4a16f6464
.
This commit is contained in:
parent
794310dca9
commit
e47db0a97a
1 changed files with 1 additions and 1 deletions
|
@ -2733,7 +2733,7 @@ window.qBittorrent.DynamicTable ??= (() => {
|
||||||
|
|
||||||
if (node.isFolder) {
|
if (node.isFolder) {
|
||||||
if (!this.collapseState.has(node.rowId))
|
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 = {
|
const data = {
|
||||||
rowId: node.rowId,
|
rowId: node.rowId,
|
||||||
size: node.size,
|
size: node.size,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue