fix: reopen clears restored_at, wire settings, docs, startup warning
This commit is contained in:
@@ -54,7 +54,13 @@ def get_dashboard_summary(
|
||||
dept_scope_name = dept_obj.name if dept_obj else None
|
||||
|
||||
# Settings for dynamic calculations
|
||||
cal_lead = int(get_setting_value(db, "calibration_lead_days", 15))
|
||||
cal_lead = int(
|
||||
get_setting_value(
|
||||
db,
|
||||
"calibration_due_window_days",
|
||||
get_setting_value(db, "calibration_lead_days", 15),
|
||||
)
|
||||
)
|
||||
amc_lead = int(
|
||||
get_setting_value(
|
||||
db,
|
||||
|
||||
Reference in New Issue
Block a user