File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ var IsotopeGrid = function (_React$Component) {
215215 if ( reload !== this . state . reload ) this . setState ( { reload : reload } ) ;
216216 if ( Object . keys ( options ) . length && this . state . isotope ) {
217217 this . state . isotope . arrange ( _extends ( { } , options ) ) ;
218- } else if ( ! Object . keys ( options ) . length ) {
218+ } else if ( Object . keys ( options ) . length ) {
219219 this . createIsotope ( ) ;
220220 }
221221 }
@@ -231,7 +231,6 @@ var IsotopeGrid = function (_React$Component) {
231231 if ( this . state . reload ) {
232232 this . state . isotope . reloadItems ( ) ;
233233 }
234- this . state . isotope . arrange ( ) ;
235234 }
236235 }
237236 } , {
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ class IsotopeGrid extends React.Component {
169169 if ( reload !== this . state . reload ) this . setState ( { reload } ) ;
170170 if ( Object . keys ( options ) . length && this . state . isotope ) {
171171 this . state . isotope . arrange ( { ...options } ) ;
172- } else if ( ! Object . keys ( options ) . length ) {
172+ } else if ( Object . keys ( options ) . length ) {
173173 this . createIsotope ( ) ;
174174 }
175175 }
@@ -183,7 +183,6 @@ class IsotopeGrid extends React.Component {
183183 if ( this . state . reload ) {
184184 this . state . isotope . reloadItems ( ) ;
185185 }
186- this . state . isotope . arrange ( ) ;
187186 }
188187 }
189188
You can’t perform that action at this time.
0 commit comments