Skip to content

Commit

Permalink
fixed bug for menu
Browse files Browse the repository at this point in the history
  • Loading branch information
A1Gard committed Feb 4, 2024
1 parent fd32164 commit e06fae1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/Models/MenuItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class MenuItem extends Model
{
use HasTranslations;

public $translatable = ['title'];

protected $guarded = [];

//
Expand Down

0 comments on commit e06fae1

Please sign in to comment.