When using "activity" => true, in twill.php for the dashboard it seems only items are added to activity that are being added/update by a user. I'm adding messages from a from to a module using a controller and i don't seem to get them to show up in the activity. Any idea how i can fix this?
i
ifox
03/28/2023, 6:41 PM
if you're using the module repository to create those messages they would register an activity. if you dont want to refactor you can register an activity yourself with
activity()->performedOn($item)->log('created');
j
jefsev
03/28/2023, 6:54 PM
Thx
jefsev
03/28/2023, 7:08 PM
Is there a way remove the preview img from the activity?
i
ifox
03/28/2023, 8:00 PM
hmm you'll need to override the dashboard vue component or just add a small css hack to your dashboard view