create widget on dashboard copy dashboard created_from and created_by
This commit is contained in:
parent
b4a5d58e1d
commit
354bea6b9d
@ -135,6 +135,8 @@ class CreateDashboard extends Job implements HasOwner, HasSource, ShouldCreate
|
|||||||
'name' => $name,
|
'name' => $name,
|
||||||
'sort' => $sort,
|
'sort' => $sort,
|
||||||
'settings' => (new $class())->getDefaultSettings(),
|
'settings' => (new $class())->getDefaultSettings(),
|
||||||
|
'created_from' => $this->model->created_from,
|
||||||
|
'created_by' => $this->model->created_by,
|
||||||
]));
|
]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user