mirror of
https://github.com/yjs/yjs.git
synced 2025-12-29 00:25:01 +01:00
fix YMap.keys()
This commit is contained in:
@@ -36,7 +36,7 @@ export default class YMap extends Type {
|
||||
return map
|
||||
}
|
||||
keys () {
|
||||
return this._map.keys()
|
||||
return Array.from(this._map.keys()).filter(x => !x._deleted)
|
||||
}
|
||||
delete (key) {
|
||||
this._transact((y) => {
|
||||
|
||||
Reference in New Issue
Block a user