From 5f9e8139402e3d73059ea31f391ef96c91947656 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Tue, 20 Apr 2021 09:43:44 -0700 Subject: [PATCH] IO-904 Unauth CSI link fix --- client/src/pages/csi/csi.container.page.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/pages/csi/csi.container.page.jsx b/client/src/pages/csi/csi.container.page.jsx index 50e9f5a0f..853800844 100644 --- a/client/src/pages/csi/csi.container.page.jsx +++ b/client/src/pages/csi/csi.container.page.jsx @@ -80,7 +80,7 @@ export function CsiContainerPage({ currentUser }) { csiquestion: { config: csiquestions }, } = data.csi_by_pk; - if (currentUser) + if (currentUser && currentUser.authorized) return ( ); + return (