other: don't collect time series data in basic mode (#1669)

Ideally I also introduce a way to ensure basic mode widgets straight up
cannot accidentally access ts data, but this works for now.
This commit is contained in:
Clement Tsang 2025-02-06 19:21:18 -05:00 committed by GitHub
parent 43a4a36429
commit 8ac03b5962
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -88,7 +88,9 @@ impl StoredData {
}
}
self.timeseries_data.add(&data);
if !settings.use_basic_mode {
self.timeseries_data.add(&data);
}
if let Some(network) = data.network {
self.network_harvest = network;