mirror of
https://github.com/yjs/yjs.git
synced 2025-12-29 00:25:01 +01:00
Y.Array.length should be 0 before it is integrated - #666
This commit is contained in:
@@ -104,7 +104,7 @@ export class YArray extends AbstractType {
|
||||
}
|
||||
|
||||
get length () {
|
||||
return this._prelimContent === null ? this._length : this._prelimContent.length
|
||||
return this._length
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user