create widget on dashboard copy dashboard created_from and created_by

This commit is contained in:
Cüneyt Şentürk 2022-09-22 15:31:04 +03:00
parent b4a5d58e1d
commit 354bea6b9d

View File

@ -135,6 +135,8 @@ class CreateDashboard extends Job implements HasOwner, HasSource, ShouldCreate
'name' => $name,
'sort' => $sort,
'settings' => (new $class())->getDefaultSettings(),
'created_from' => $this->model->created_from,
'created_by' => $this->model->created_by,
]));
}