Skip to content

Commit

Permalink
Merge pull request #736 from silverstripeltd/bugfix/icons-in-add-grid…
Browse files Browse the repository at this point in the history
…field

Remove icons from gridfield add button
  • Loading branch information
GuySartorelli authored Dec 20, 2023
2 parents 1e982c8 + b2f0d12 commit 283ca6a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Forms/GridField/GridFieldAddByDBField.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ public function getHTMLFragments($gridField)
'add',
'add'
);
$addAction->setAttribute('data-icon', 'add');
$addAction->addExtraClass('btn btn-primary');

$forTemplate = ArrayData::create([]);
Expand Down

0 comments on commit 283ca6a

Please sign in to comment.