Skip to content

Commit b11f737

Browse files
author
Warren Buckley
committed
When closing file - ensure all LogOptions are reset
1 parent a6bc04f commit b11f737

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

LogViewer.Client/src/renderer/app-angular.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ logViewerApp.controller("LogViewerController", ["$scope", function($scope) {
7272
vm.chartData = [];
7373
vm.logs = {};
7474

75+
vm.logOptions = {};
76+
vm.logOptions.filterExpression = "";
77+
vm.logOptions.sortOrder = "Descending";
78+
vm.logOptions.pageNumber = 1;
79+
7580
$scope.$applyAsync();
7681
});
7782

0 commit comments

Comments
 (0)