Skip to content

Commit

Permalink
Merge pull request #1544 from clpetersonucf/issue/1543-user-admin-aut…
Browse files Browse the repository at this point in the history
…h-type-check-fix

improves play.auth string check in user admin panel
  • Loading branch information
clpetersonucf authored Jan 4, 2024
2 parents cede029 + 19b4642 commit 9978e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/user-admin-instance-played.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const UserAdminInstancePlayed = ({play, index}) => {
<label>Completed:</label> { play.is_complete == "1" ? 'Yes' : 'No' }
</div>
<div>
<label>Context:</label> {play.auth == 'LTI' ? 'LTI' : 'Web' }
<label>Context:</label> {play.auth && typeof play.auth == 'string' && play.auth.toLowerCase() == 'lti' ? 'LTI' : 'Web' }
</div>
</div>
</li>
Expand Down

0 comments on commit 9978e88

Please sign in to comment.