From dca96b5eeab43439a2c2e2606d939d5e8ab5b6d7 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Mon, 30 Oct 2023 16:20:16 -0400 Subject: [PATCH] fix initial state --- src/components/PatchesPage/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PatchesPage/index.tsx b/src/components/PatchesPage/index.tsx index 7230db8f0a..1b77fbb6c5 100644 --- a/src/components/PatchesPage/index.tsx +++ b/src/components/PatchesPage/index.tsx @@ -164,7 +164,7 @@ export const usePatchesInputFromSearch = (search: string): PatchesInput => { const statuses = rawStatuses.filter((v) => v && v !== ALL_PATCH_STATUS); return { limit: getLimitFromSearch(search), - includeHidden: hidden, + includeHidden: hidden || Cookies.get(INCLUDE_HIDDEN_PATCHES) === "true", page: getPageFromSearch(search), patchName: `${patchName}`, statuses,