mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-29 06:18:26 +02:00
Moved rootNodeRedirectsToNewEntity option to new settings system
This commit is contained in:
parent
9812671a89
commit
6e28f2a74e
2 changed files with 10 additions and 0 deletions
|
@ -68,5 +68,9 @@ class SidebarSettings
|
|||
#[SettingsParameter(label: new TM("settings.behavior.sidebar.rootNodeExpanded"))]
|
||||
public bool $rootNodeExpanded = true;
|
||||
|
||||
/**
|
||||
* @var bool Whether the root node should redirect to a new entity creation page when clicked.
|
||||
*/
|
||||
#[SettingsParameter(label: new TM("settings.behavior.sidebar.rootNodeRedirectsToNewEntity"))]
|
||||
public bool $rootNodeRedirectsToNewEntity = false;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue