fix(admin): disable resource polling (#413)

This commit is contained in:
paranarimasu
2022-07-08 23:27:33 -05:00
committed by GitHub
parent 8818bd0fd2
commit ee1f93f011
2 changed files with 0 additions and 42 deletions
-21
View File
@@ -13,27 +13,6 @@ use Laravel\Nova\Lenses\Lens;
*/
abstract class BaseLens extends Lens
{
/**
* Indicates whether the resource should automatically poll for new resources.
*
* @var bool
*/
public static $polling = true;
/**
* The interval at which Nova should poll for new resources.
*
* @var int
*/
public static $pollingInterval = 60;
/**
* Indicates whether to show the polling toggle button inside Nova.
*
* @var bool
*/
public static $showPollingToggle = true;
/**
* Get the query builder / paginator for the lens.
*
-21
View File
@@ -27,27 +27,6 @@ abstract class BaseResource extends NovaResource
*/
public static $scoutSearchResults = 10;
/**
* Indicates whether the resource should automatically poll for new resources.
*
* @var bool
*/
public static $polling = true;
/**
* The interval at which Nova should poll for new resources.
*
* @var int
*/
public static $pollingInterval = 60;
/**
* Indicates whether to show the polling toggle button inside Nova.
*
* @var bool
*/
public static $showPollingToggle = true;
/**
* The number of resources to show per page via relationships.
*