@@ -134,7 +134,7 @@ const CollectionModel = AmpersandModel.extend(debounceActions(['fetch']), {
134134 status : { type : 'string' , default : 'initial' } ,
135135 statusError : { type : 'string' , default : null } ,
136136
137- // Normalized values from collectionInfo command
137+ // Normalized values from collectionInfo method
138138 inferred_from_privileges : 'boolean' ,
139139 readonly : 'boolean' ,
140140 clustered : 'boolean' ,
@@ -286,11 +286,11 @@ const CollectionModel = AmpersandModel.extend(debounceActions(['fetch']), {
286286 ...collStats ,
287287 ...( collectionInfo && pickCollectionInfo ( collectionInfo ) ) ,
288288 } ) ;
289- // If the collection is not unprovisioned `inferred_from_privileges` anymore,
290- // let's update the parent database model to reflect the change.
291- // This happens when a user tries to insert first document into a
292- // collection that doesn't exist yet or creates a new collection
293- // for an unprovisioned database.
289+ // If the collection is not `inferred_from_privileges` anymore, let's
290+ // update the parent database model to reflect the change. This happens
291+ // when a user tries to insert first document into a collection that
292+ // doesn't exist yet or creates a new collection for an unprovisioned
293+ // database.
294294 if ( ! this . inferred_from_privileges ) {
295295 getParentByType ( this , 'Database' ) . set ( {
296296 inferred_from_privileges : false ,
0 commit comments