fix: display session & remote history entries

This commit is contained in:
Baptiste Grob
2021-04-12 11:58:12 +02:00
parent 21e40bec40
commit 622963d04e
2 changed files with 6 additions and 3 deletions

View File

@@ -31,6 +31,9 @@ class HistoryMenuCtrl extends PureViewCtrl<unknown, HistoryState> {
fetchingRemoteHistory: false,
autoOptimize: this.application.historyManager.autoOptimize,
diskEnabled: this.application.historyManager.isDiskEnabled(),
sessionHistory: this.application.historyManager.sessionHistoryForItem(
this.item
),
};
}
@@ -124,7 +127,7 @@ class HistoryMenuCtrl extends PureViewCtrl<unknown, HistoryState> {
/** @entries */
get sessionHistoryEntries() {
return this.state.sessionHistory?.entries;
return this.state.sessionHistory;
}
async toggleSessionHistoryDiskSaving() {