Skip to content

Commit

Permalink
BaseItem(List/Table): Don't use DetailActions trait
Browse files Browse the repository at this point in the history
Trait is in icingadb-web, the extended classes should use it.
  • Loading branch information
sukhwinder33445 authored and yhabteab committed Sep 1, 2023
1 parent 9f3b01d commit 8d0102e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/Common/BaseItemList.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
abstract class BaseItemList extends BaseHtmlElement
{
use BaseFilter;
use DetailActions;

protected $baseAttributes = [
'class' => 'item-list',
Expand Down Expand Up @@ -45,7 +44,6 @@ public function __construct($data)

$this->addAttributes($this->baseAttributes);

$this->initializeDetailActions();
$this->init();
}

Expand Down
2 changes: 0 additions & 2 deletions src/Common/BaseItemTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
abstract class BaseItemTable extends BaseHtmlElement
{
use BaseFilter;
use DetailActions;

/** @var string Defines the layout used by this item */
public const TABLE_LAYOUT = 'table-layout';
Expand Down Expand Up @@ -43,7 +42,6 @@ public function __construct($data)

$this->addAttributes($this->baseAttributes);

$this->initializeDetailActions();
$this->init();
}

Expand Down

0 comments on commit 8d0102e

Please sign in to comment.