File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
packages/compass-data-modeling/src/components Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -265,8 +265,9 @@ const NewDiagramForm: React.FunctionComponent<NewDiagramFormProps> = ({
265265 case 'select-collections' :
266266 return {
267267 title : `Select collections for ${ selectedDatabase ?? '' } ` ,
268- description :
269- 'These collections will be included in your generated diagram.' ,
268+ description : `${
269+ collections . length === 1 ? 'This collection' : 'These collections'
270+ } will be included in your generated diagram.`,
270271 onConfirmAction : onCollectionsSelectionConfirm ,
271272 confirmActionLabel : 'Generate' ,
272273 isConfirmDisabled :
@@ -276,7 +277,9 @@ const NewDiagramForm: React.FunctionComponent<NewDiagramFormProps> = ({
276277 footerText : (
277278 < >
278279 < strong > { selectedCollections . length } </ strong > /
279- < strong > { collections . length } </ strong > total collections selected.
280+ < strong > { collections . length } </ strong > total{ ' ' }
281+ { collections . length === 1 ? 'collection' : 'collections' } { ' ' }
282+ selected.
280283 </ >
281284 ) ,
282285 } ;
You can’t perform that action at this time.
0 commit comments