Skip to content

Modular logistics and supply chain operating system (LSOS)

refactor: remove redundant defaultValue from content array attr

Ronald A Richardsone0f9aeb5a930
diff --git a/console/app/models/template.js b/console/app/models/template.js
index c81ab0c0..9d0351d7 100644
--- a/console/app/models/template.js
+++ b/console/app/models/template.js
@@ -22,7 +22,7 @@ export default class TemplateModel extends Model {
@attr('number') height;
@attr('string', { defaultValue: 'mm' }) unit;
@attr('string', { defaultValue: '#ffffff' }) background_color;
- @attr('array', { defaultValue: () => [] }) content;
+ @attr('array') content;
@attr('boolean', { defaultValue: false }) is_default;
@attr('string', { defaultValue: 'draft' }) status;
@attr('object') meta;