File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ private function importEntries()
84
84
->collection ($ model ->collection )
85
85
->data ($ model ->data )
86
86
->blueprint ($ model ->blueprint )
87
+ ->template ($ model ->data ['template ' ] ?? null )
87
88
->published ($ model ->published );
88
89
89
90
if (in_array (HasUuids::class, class_uses_recursive ($ model ))) {
@@ -113,6 +114,7 @@ private function importEntries()
113
114
->collection ($ model ->collection )
114
115
->data ($ model ->data )
115
116
->blueprint ($ model ->data ['blueprint ' ] ?? null )
117
+ ->template ($ model ->data ['template ' ] ?? null )
116
118
->published ($ model ->published );
117
119
118
120
if ($ model ->date && $ entry ->collection ()->dated ()) {
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ public static function fromModel(Model $model)
28
28
->collection ($ model ->collection )
29
29
->data ($ data )
30
30
->blueprint ($ model ->blueprint ?? $ model ->data ['blueprint ' ] ?? null )
31
+ ->template ($ model ->data ['template ' ] ?? null )
31
32
->published ($ model ->published )
32
33
->model ($ model );
33
34
You can’t perform that action at this time.
0 commit comments