Skip to content

Commit 4f69b33

Browse files
committed
Fix translatable label bug
1 parent 86349c9 commit 4f69b33

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Models/MenuItem.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
class MenuItem extends Model
1616
{
1717
use HasFactory;
18-
use HasTranslatedSlugAttributeTrait;
1918
use NodeTrait;
2019

2120
protected $fillable = [
@@ -40,10 +39,7 @@ class MenuItem extends Model
4039
'use_model_title' => 'boolean',
4140
];
4241

43-
public function getTranslatableAttributes(): array
44-
{
45-
return array_merge($this->translatable, ['slug']);
46-
}
42+
public $translatable = ['label'];
4743

4844
public function getTable()
4945
{

0 commit comments

Comments
 (0)