Skip to content

Commit ad13dda

Browse files
author
tsv2013
committed
Work for https://github.com/surveyjs/service/issues/3065 - fixed Implement synchronization between the survey title and the item name in the list
1 parent 0803193 commit ad13dda

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@
5656
},
5757
"msw": {
5858
"workerDirectory": [
59-
"public",
60-
"згидшс"
59+
"public"
6160
]
6261
},
6362
"devDependencies": {
@@ -71,4 +70,4 @@
7170
"history": "5.3.0"
7271
}
7372
}
74-
}
73+
}

src/components/Surveys.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const Surveys = (): React.ReactElement => {
2121
<tbody>
2222
{surveys.map(survey =>
2323
<tr key={survey.id} className='sjs-surveys-list__row'>
24-
<td><span>{survey.name}</span></td>
24+
<td><span>{survey.json?.title || survey.name}</span></td>
2525
<td>
2626
<Link className='sjs-button' to={'run/' + survey.id}><span>Run</span></Link>
2727
<Link className='sjs-button' to={'edit/' + survey.id}><span>Edit</span></Link>

0 commit comments

Comments
 (0)