* Optimize build dtable config.
This commit is contained in:
@@ -32,7 +32,6 @@ foreach($actions as $actionType => $typeActions)
|
||||
{
|
||||
$actions[$actionType][$key]['className'] = isset($action['className']) ? $action['className'] . ' ghost' : 'ghost';
|
||||
$actions[$actionType][$key]['iconClass'] = isset($action['iconClass']) ? $action['iconClass'] . ' text-primary' : 'text-primary';
|
||||
$actions[$actionType][$key]['url'] = str_replace('{id}', (string)$build->id, $action['url']);
|
||||
if($action['icon'] == 'edit') $actions[$actionType][$key]['text'] = $lang->edit;
|
||||
if($action['icon'] == 'trash') $actions[$actionType][$key]['text'] = $lang->delete;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user