From 8cd1a482bbcfb34c1a557afc7a15cdbb1816b7fd Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Thu, 26 Sep 2024 19:30:25 +0200 Subject: [PATCH] Y.Array.length should be 0 before it is integrated - #666 --- src/types/YArray.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/YArray.js b/src/types/YArray.js index 38b4e11f..c70f2cda 100644 --- a/src/types/YArray.js +++ b/src/types/YArray.js @@ -104,7 +104,7 @@ export class YArray extends AbstractType { } get length () { - return this._prelimContent === null ? this._length : this._prelimContent.length + return this._length } /**