Skip to content

Commit

Permalink
OCLOMRS-919 : test failing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nk183 committed Mar 25, 2021
1 parent 567072f commit 305af5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apps/concepts/components/MappingsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const MappingsTable: React.FC<Props> = ({

useEffect(() => {
if (isAnswer) {
sorted.sort((v1, v2) => {
values=sorted.sort((v1, v2) => {
if (v1.extras?.sort_weight) {
if (v2.extras?.sort_weight) {
return (
Expand Down Expand Up @@ -203,7 +203,7 @@ const MappingsTable: React.FC<Props> = ({
<Droppable droppableId="droppable-1">
{(provided, _) => (
<div ref={provided.innerRef} {...provided.droppableProps}>
{sorted.map((value, index) =>
{values.map((value, index) =>
value.retired && !showRetired ? null : (
<Draggable
key={value.external_id}
Expand Down

0 comments on commit 305af5c

Please sign in to comment.