mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 02:09:03 +02:00
Expand treeview nodes without link when you click on it.
This commit is contained in:
parent
af8d623f79
commit
892baf6345
1 changed files with 4 additions and 0 deletions
|
@ -255,6 +255,10 @@ final class TreeViewNode implements JsonSerializable
|
||||||
$ret['state'] = $this->state;
|
$ret['state'] = $this->state;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->href == null) {
|
||||||
|
$ret['selectable'] = false;
|
||||||
|
}
|
||||||
|
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue