fix: mergeDiff must default to full json with no uri
This commit is contained in:
parent
6fb012090e
commit
f6bbc7f6c3
|
@ -250,6 +250,9 @@ export class Entity extends decorate(Resource) {
|
|||
}
|
||||
|
||||
mergeDiff() {
|
||||
if (!this.uri) {
|
||||
return this.toJSON();
|
||||
}
|
||||
return mergeDiff(this._json, this.toJSON());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user