This commit is contained in:
2021-02-01 17:57:34 +00:00
parent d198bea613
commit d1d4267827
2 changed files with 15 additions and 6 deletions

View File

@@ -641,6 +641,10 @@ export default {
///////////////////////////////////////////////
// Simple array equality comparison
// (will NOT work on arrays of objects)
// Array order is relevant here as they are not sorted
// change of order will equal change of array
// as this is required for datatable sortby
//
isEqualArraysOfPrimitives: function(a, b) {
if (a === b) return true;
if (a == null || b == null) return false;