diff --git a/app/Models/ComponentGroup.php b/app/Models/ComponentGroup.php index 07c6d617..31da0dea 100644 --- a/app/Models/ComponentGroup.php +++ b/app/Models/ComponentGroup.php @@ -22,6 +22,16 @@ class ComponentGroup extends Model implements HasPresenter { use SearchableTrait, SortableTrait, ValidatingTrait; + /** + * The model's attributes. + * + * @var string + */ + protected $attributes = [ + 'order' => 0, + 'collapsed' => 0, + ]; + /** * The attributes that should be casted to native types. *