Skip to content

Commit

Permalink
revert translatable relation
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Dec 8, 2023
1 parent edb1e90 commit 11d55cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Models/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Form extends Model
use HasUpdates;
use SoftDeletes;

public array $translatable = ['name', 'description', 'details', 'sections'];
public array $translatable = ['name', 'description', 'details'];

protected $guarded = [];

Expand Down
2 changes: 1 addition & 1 deletion src/Models/Section.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Section extends Model
use HasTranslations;
use SoftDeletes;

public array $translatable = ['name', 'fields'];
public array $translatable = ['name'];

protected $guarded = [];

Expand Down

0 comments on commit 11d55cc

Please sign in to comment.