File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
addon/components/collection-scroll-view Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { cached } from 'ember-cached-decorator-polyfill';
4
4
import { tracked } from '@glimmer/tracking' ;
5
5
import { action } from '@ember/object' ;
6
6
import { next , schedule } from '@ember/runloop' ;
7
- import { assert as emberAssert } from '@ember/debug' ;
8
7
import { ref } from 'ember-ref-bucket' ;
9
8
10
9
/* A component which integrates a ScrollView with ember-collection */
@@ -129,8 +128,6 @@ export default class CollectionScrollView extends Component {
129
128
if ( itemIndex >= 0 ) {
130
129
let { y } = this . cellLayout . positionAt ( itemIndex ) ;
131
130
scrollViewApi . scrollTo ( y + this . headerHeight , true ) ;
132
- } else {
133
- emberAssert ( `item with ID ${ id } not found` , false ) ;
134
131
}
135
132
}
136
133
}
You can’t perform that action at this time.
0 commit comments