From 46029a5b38590971d15df4135272d28638539708 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Thu, 22 Apr 2021 15:06:43 +0200 Subject: [PATCH] Get less-expensive summary view when getting list of histories --- client/src/components/History/model/queries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/History/model/queries.js b/client/src/components/History/model/queries.js index d05c09e91f9..1f13bd0215b 100644 --- a/client/src/components/History/model/queries.js +++ b/client/src/components/History/model/queries.js @@ -81,7 +81,7 @@ const stdHistoryParams = { * Return list of available histories */ export async function getHistoryList() { - const response = await api.get("/histories", { params: stdHistoryParams }); + const response = await api.get("/histories", { params: { view: "summary" } }); return doResponse(response); }