diff --git a/ui/app/serializers/task-group-scale.js b/ui/app/serializers/task-group-scale.js new file mode 100644 index 000000000..057fa86d0 --- /dev/null +++ b/ui/app/serializers/task-group-scale.js @@ -0,0 +1,11 @@ +import ApplicationSerializer from './application'; + +export default class TaskGroupScaleSerializer extends ApplicationSerializer { + normalize(typeHash, hash) { + if (!hash.Events) { + hash.Events = []; + } + + return super.normalize(typeHash, hash); + } +}