diff --git a/src/Forms/GridField/GridFieldAddExistingAutocompleter.php b/src/Forms/GridField/GridFieldAddExistingAutocompleter.php index b71e9a79a..022ba75ad 100644 --- a/src/Forms/GridField/GridFieldAddExistingAutocompleter.php +++ b/src/Forms/GridField/GridFieldAddExistingAutocompleter.php @@ -132,7 +132,7 @@ class GridFieldAddExistingAutocompleter implements GridField_HTMLProvider, GridF 'addto' ); $addAction->setAttribute('data-icon', 'chain--plus'); - $addAction->addExtraClass('btn btn-secondary-outline font-icon-link action_gridfield_relationadd'); + $addAction->addExtraClass('btn btn-outline-secondary font-icon-link action_gridfield_relationadd'); // If an object is not found, disable the action if (!is_int($gridField->State->GridFieldAddRelation(null))) {