From 19b464232f898a288de6775841264c68449131f8 Mon Sep 17 00:00:00 2001 From: Corey Peterson Date: Tue, 14 Nov 2023 09:58:39 -0500 Subject: [PATCH] improves play.auth string check in user admin panel --- src/components/user-admin-instance-played.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/user-admin-instance-played.jsx b/src/components/user-admin-instance-played.jsx index 7f20b90ab..70026b35c 100644 --- a/src/components/user-admin-instance-played.jsx +++ b/src/components/user-admin-instance-played.jsx @@ -41,7 +41,7 @@ const UserAdminInstancePlayed = ({play, index}) => { { play.is_complete == "1" ? 'Yes' : 'No' }
- {play.auth == 'LTI' ? 'LTI' : 'Web' } + {play.auth && typeof play.auth == 'string' && play.auth.toLowerCase() == 'lti' ? 'LTI' : 'Web' }