Browse Source

Make "Show All / Show Failed" persistent after a page reload

pull/1924/head
Safihre 4 years ago
parent
commit
cf3136781d
  1. 2
      interfaces/Glitter/templates/static/javascripts/glitter.history.js

2
interfaces/Glitter/templates/static/javascripts/glitter.history.js

@ -8,7 +8,7 @@ function HistoryListModel(parent) {
// Variables
self.lastUpdate = 0;
self.historyItems = ko.observableArray([])
self.showFailed = ko.observable(false);
self.showFailed = ko.observable(false).extend({ persist: 'historyShowFailed' });
self.isLoading = ko.observable(false).extend({ rateLimit: 100 });
self.searchTerm = ko.observable('').extend({ rateLimit: { timeout: 200, method: "notifyWhenChangesStop" } });
self.paginationLimit = ko.observable(10).extend({ persist: 'historyPaginationLimit' });

Loading…
Cancel
Save