added id attribute to elements
This commit is contained in:
@@ -240,6 +240,9 @@ class Category extends Model
|
||||
'icon' => 'create',
|
||||
'url' => route('categories.edit', $this->id),
|
||||
'permission' => 'update-settings-categories',
|
||||
'attributes' => [
|
||||
'id' => 'index-line-actions-edit-category-' . $this->id,
|
||||
],
|
||||
];
|
||||
|
||||
if ($this->isTransferCategory()) {
|
||||
@@ -251,6 +254,9 @@ class Category extends Model
|
||||
'icon' => 'delete',
|
||||
'route' => 'categories.destroy',
|
||||
'permission' => 'delete-settings-categories',
|
||||
'attributes' => [
|
||||
'id' => 'index-line-actions-delete-category-' . $this->id,
|
||||
],
|
||||
'model' => $this,
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user