Expand treeview nodes without link when you click on it.

This commit is contained in:
Jan Böhmer 2022-07-24 23:39:04 +02:00
parent af8d623f79
commit 892baf6345

View file

@ -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;
} }
} }