mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Update src/utils/arrays.ts
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
2a8881f753
commit
1573c88b47
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ export function arrayHasDiff(a: any[], b: any[]): boolean {
|
|||
if (a.some(i => !b.includes(i))) return true;
|
||||
|
||||
// if all the keys are common, say so
|
||||
return false
|
||||
return false;
|
||||
} else {
|
||||
return true; // different lengths means they are naturally diverged
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue