From 7449d9db67ea1cba41f5739f6ec7f69393ddaf47 Mon Sep 17 00:00:00 2001 From: sawka Date: Thu, 9 Nov 2023 22:44:39 -0800 Subject: [PATCH] remove show metacmds from history search (we always want to show meta) --- src/app/history/history.tsx | 14 +------------- src/model/model.ts | 4 ++-- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/src/app/history/history.tsx b/src/app/history/history.tsx index b64858f4..8b217f92 100644 --- a/src/app/history/history.tsx +++ b/src/app/history/history.tsx @@ -512,20 +512,8 @@ class HistoryView extends React.Component<{}, {}> { -
-
- -
-
- Show MetaCmds -
-
-
+
From: 
diff --git a/src/model/model.ts b/src/model/model.ts index c4eaf355..89b81485 100644 --- a/src/model/model.ts +++ b/src/model/model.ts @@ -1921,7 +1921,7 @@ class HistoryViewModel { searchRemoteId: OV = mobx.observable.box(null, { name: "historyview-searchRemoteId", }); - searchShowMeta: OV = mobx.observable.box(false, { + searchShowMeta: OV = mobx.observable.box(true, { name: "historyview-searchShowMeta", }); searchFromDate: OV = mobx.observable.box(null, { @@ -2081,7 +2081,7 @@ class HistoryViewModel { this.searchSessionId.set(null); this.searchRemoteId.set(null); this.searchFromDate.set(null); - this.searchShowMeta.set(false); + this.searchShowMeta.set(true); this.searchFilterCmds.set(true); })(); GlobalCommandRunner.historyView(this._getSearchParams(0, 0));