We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3041af0 commit 7b0c2a9Copy full SHA for 7b0c2a9
src/app.rs
@@ -297,7 +297,11 @@ impl LogViewerApp {
297
}
298
LoadingStatus::Success(data) => {
299
self.loading_status = match Data::try_from(&data[..]) {
300
- Ok(data) => {
+ Ok(mut data) => {
301
+ if let Some(old_data) = self.data.as_mut() {
302
+ // Preserve filter across loads of the data
303
+ data.filter = old_data.filter.take();
304
+ }
305
self.data = Some(data);
306
LoadingStatus::NotInProgress
307
0 commit comments