diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2020-12-17 14:38:41 -0800 |
---|---|---|
committer | ClementTsang <cjhtsang@uwaterloo.ca> | 2020-12-17 17:52:40 -0500 |
commit | 8f681604c4bacc509000d62a741345f1af0ec5ee (patch) | |
tree | 115d923b24304ebe3a708a3ac8595472d0570685 | |
parent | 9b1fc0bfc3c88d1d5a639210d14884f1fd0a65fb (diff) |
bug: Fix missing component list refresh (#361)
(cherry picked from commit 061cdb913b04aa6cd7e29cf0cc285227ac21846a)
-rw-r--r-- | src/app/data_harvester.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/data_harvester.rs b/src/app/data_harvester.rs index 7f25539a..9915e6d0 100644 --- a/src/app/data_harvester.rs +++ b/src/app/data_harvester.rs @@ -145,6 +145,11 @@ impl DataCollector { } } + // Refresh components list once... + if self.widgets_to_harvest.use_temp { + self.sys.refresh_components_list(); + } + // trace!("Running first run."); futures::executor::block_on(self.update_data()); // trace!("First run done. Sleeping for 250ms..."); |