hide projections when not in portfolio mode

This commit is contained in:
Emil Lerch 2026-04-28 15:54:21 -07:00
parent 7014c326d1
commit c58edb4f1c
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -2221,6 +2221,7 @@ pub fn run(
// Disable analysis tab when no portfolio is loaded (analysis requires portfolio)
if (app_inst.portfolio == null) {
app_inst.analysis_disabled = true;
app_inst.projections_disabled = true;
}
// History tab also requires a portfolio path to locate the
// history/ subdirectory.