File tree Expand file tree Collapse file tree 3 files changed +1
-5
lines changed
Moox/Entities/Categories/Category
core/src/Entities/Items/Draft/Pages Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class Category extends BaseDraftModel implements HasMedia
4545 use NodeTrait;
4646 use SoftDeletes;
4747 use InteractsWithMedia;
48- public $ incrementing = false ;
48+ public $ incrementing = true ;
4949 protected $ keyType = 'int ' ;
5050
5151 public $ translatedAttributes = [
Original file line number Diff line number Diff line change @@ -99,9 +99,6 @@ public static function form(Form $form): Form
9999 ->disabledOptions (fn ($ get ): array => [$ get ('id ' )])
100100 ->enableBranchNode ()
101101 ->visible (fn () => Category::count () > 0 ),
102- KeyValue::make ('basedata ' ),
103- KeyValue::make ('data ' ),
104- KeyValue::make ('data.ArticleGroup ' ),
105102
106103
107104 ]),
Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ protected function handleRecordCreation(array $data): Model
4141 // Fill and save the main record with non-translatable data
4242 $ record ->fill ($ nonTranslatableData );
4343 $ record ->save ();
44-
4544 // Create the translation if the model supports translations
4645 /** @var Model $translation */
4746 $ translation = $ record ->translations ()->firstOrNew ([
You can’t perform that action at this time.
0 commit comments