You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The $watch on the 'sortInfo' is constantly fired, and newVal !== oldVal because newVal and oldVal also include the column, which includes the columns width.
Proposed solution: instead of comparing all of newVal and oldVal, we should compare if the sort attributes we depend on have changed (sortInfo.fields and sortInfo.directions).
https://github.com/ISBX/isbx-loopback-cms/blob/master/client/app/dashboard/model/list/ModelList.js#L692
The $watch on the 'sortInfo' is constantly fired, and newVal !== oldVal because newVal and oldVal also include the column, which includes the columns width.
Proposed solution: instead of comparing all of newVal and oldVal, we should compare if the sort attributes we depend on have changed (sortInfo.fields and sortInfo.directions).
https://github.com/ISBX/isbx-loopback-cms/blob/master/client/app/dashboard/model/list/ModelList.js#L295
The text was updated successfully, but these errors were encountered: