mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-02 03:14:36 +02:00
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:
parent
43a4a36429
commit
8ac03b5962
@ -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 {
|
if let Some(network) = data.network {
|
||||||
self.network_harvest = network;
|
self.network_harvest = network;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user