View page rating index number not showing correct issue fixed
This commit is contained in:
parent
18a31e4c2a
commit
2e403624a8
@ -15,7 +15,7 @@ const ViewPatientImageMarker = (props: Props) => {
|
|||||||
<span className='sub-header'>How much pain?</span>
|
<span className='sub-header'>How much pain?</span>
|
||||||
{saved.entries?.map((entry: any, index: number) => (
|
{saved.entries?.map((entry: any, index: number) => (
|
||||||
<div className='ratingResult' key={index}>
|
<div className='ratingResult' key={index}>
|
||||||
<span className='image-marker__marker--default'>{entry.index}</span>
|
<span className='image-marker__marker--default'>{index + 1}</span>
|
||||||
<Rating
|
<Rating
|
||||||
index={entry.index}
|
index={entry.index}
|
||||||
defaultValue={entry.severity}
|
defaultValue={entry.severity}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user