From ddfb5610c3b3b322d0c3530f51abe4fd8e6bea86 Mon Sep 17 00:00:00 2001 From: Harum Helmy Date: Mon, 3 Aug 2020 11:46:55 -0400 Subject: [PATCH] hard coded COVID-19 as a text query for API queries on the dashboard --- src/components/dashboard.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/dashboard.js b/src/components/dashboard.js index 08e720e..f9ba556 100644 --- a/src/components/dashboard.js +++ b/src/components/dashboard.js @@ -189,6 +189,7 @@ export default function Dashboard() { onChange={e => { const search = createPreprintQs( { + text: 'COVID-19', hasOthersRec: e.target.checked || null }, location.search @@ -215,6 +216,7 @@ export default function Dashboard() { onChange={e => { const search = createPreprintQs( { + text: 'COVID-19', hasPeerRec: e.target.checked || null }, location.search @@ -241,6 +243,7 @@ export default function Dashboard() { onChange={e => { const search = createPreprintQs( { + text: 'COVID-19', hasData: e.target.checked || null }, location.search @@ -267,6 +270,7 @@ export default function Dashboard() { onChange={e => { const search = createPreprintQs( { + text: 'COVID-19', hasCode: e.target.checked || null }, location.search