Merge pull request #736 from silverstripeltd/bugfix/icons-in-add-gridfield

Remove icons from gridfield add button
This commit is contained in:
Guy Sartorelli 2023-12-20 13:01:58 +13:00 committed by GitHub
commit 283ca6a664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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([]);