diff --git a/framework/core/js/src/common/Model.js b/framework/core/js/src/common/Model.js index 270ef5a17..24937f214 100644 --- a/framework/core/js/src/common/Model.js +++ b/framework/core/js/src/common/Model.js @@ -313,6 +313,8 @@ export default class Model { * @protected */ static getIdentifier(model) { + if (!model) return model; + return { type: model.data.type, id: model.data.id,