v0.36.9
This commit is contained in:
1 parent
358a4518d9
commit
2789991452
13 files changed
+215
-6
No files matched your search
@@ -147,6 +147,9 @@ struct AdminPreferences {
|
||||
/// Re-flow the custom Overview layout for the current screen width (on by default).
|
||||
#[serde(default = "default_admin_dashboard_auto_fit")]
|
||||
dashboard_auto_fit: bool,
|
||||
/// Left menu collapsed to a narrow rail on wide screens (off by default).
|
||||
#[serde(default)]
|
||||
sidebar_collapsed: bool,
|
||||
/// Optional per-card heights in Overview row units (1..=32, a compact stat card is 2); missing cards size to content.
|
||||
#[serde(default)]
|
||||
dashboard_widget_heights: Option<std::collections::BTreeMap<String, u8>>,
|
||||
@@ -209,6 +212,7 @@ impl Default for AdminPreferences {
|
||||
dashboard_widget_sizes: None,
|
||||
dashboard_widget_heights: None,
|
||||
dashboard_auto_fit: true,
|
||||
sidebar_collapsed: false,
|
||||
file_log_columns: default_file_log_columns(),
|
||||
file_log_sort: default_file_log_sort(),
|
||||
file_log_descending: default_file_log_descending(),
|
||||
|
||||
Reference in new issue
Block a user