mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update Eventlog WebUI/backend to use ajax (#9252)
* WIP Eventlog table * Initial Eventlog rework * fromdevice is not a request parameter * updates * remove unneeded field * Cleanups
This commit is contained in:
committed by
Neil Lathwood
parent
602d8f531c
commit
6242f941f6
@@ -64,4 +64,9 @@ class Sensor extends BaseModel
|
||||
{
|
||||
return $this->belongsTo('App\Models\Device', 'device_id');
|
||||
}
|
||||
|
||||
public function events()
|
||||
{
|
||||
return $this->morphMany(Eventlog::class, 'events', 'type', 'reference');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user