Skip to content

Commit

Permalink
Fixing issue #567 (error when adding user's in groups)
Browse files Browse the repository at this point in the history
  • Loading branch information
krulis-martin committed Feb 14, 2025
1 parent ea50c45 commit 806d6a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions recodex-web.spec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
%define name recodex-web
%define short_name web-app
%define version 2.15.0
%define unmangled_version ed0c889e5f5a08d8949b54e080639b6c6fa06f2f
%define release 2
%define unmangled_version ea50c456f5984854dfd0b0023e6801d749349b75
%define release 3

Summary: ReCodEx web-app component
Name: %{name}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Groups/ResultsTable/ResultsTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ class ResultsTable extends Component {
headerSuffixClassName: styles.maxPointsRow,
cellRenderer: stats => (
<>
{stats.hasLimit && stats.passesLimit && <AcceptedIcon className="text-success" />}
{stats.hasLimit && !stats.passesLimit && (
{stats && stats.hasLimit && stats.passesLimit && <AcceptedIcon className="text-success" />}
{stats && stats.hasLimit && !stats.passesLimit && (
<Icon icon={['far', 'circle-xmark']} className="text-body-secondary opacity-50" />
)}
</>
Expand Down

0 comments on commit 806d6a9

Please sign in to comment.