Remove icons from gridfield add button

This commit is contained in:
Mohamed Alsharaf 2023-12-19 12:44:29 +13:00
parent 1e982c8f31
commit b2f0d12dd6

View File

@ -226,7 +226,6 @@ class GridFieldAddByDBField implements GridField_ActionProvider, GridField_HTMLP
'add',
'add'
);
$addAction->setAttribute('data-icon', 'add');
$addAction->addExtraClass('btn btn-primary');
$forTemplate = ArrayData::create([]);