hide projections when not in portfolio mode
This commit is contained in:
parent
54efdc3e7c
commit
4174e9bc09
1 changed files with 1 additions and 0 deletions
|
|
@ -2221,6 +2221,7 @@ pub fn run(
|
||||||
// Disable analysis tab when no portfolio is loaded (analysis requires portfolio)
|
// Disable analysis tab when no portfolio is loaded (analysis requires portfolio)
|
||||||
if (app_inst.portfolio == null) {
|
if (app_inst.portfolio == null) {
|
||||||
app_inst.analysis_disabled = true;
|
app_inst.analysis_disabled = true;
|
||||||
|
app_inst.projections_disabled = true;
|
||||||
}
|
}
|
||||||
// History tab also requires a portfolio path to locate the
|
// History tab also requires a portfolio path to locate the
|
||||||
// history/ subdirectory.
|
// history/ subdirectory.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue