File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/com/magento/idea/magento2plugin/actions/generation/generator
testData/actions/generation/generator/FormButtonBlockGenerator/generateDeleteButtonBlock Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ protected void fillAttributes(final @NotNull Properties attributes) {
208
208
attributes .setProperty ("SORT_ORDER" , String .valueOf (buttonTypeSettings .getSortOrder ()));
209
209
attributes .setProperty ("ENTITY_NAME" , Strings .toLowerCase (entityName ));
210
210
attributes .setProperty ("ENTITY_ID" , entityIdField );
211
- if (buttonData .getButtonClassName ().equals (FormButtonBlockFile .TYPE_DELETE )) {
211
+ if (buttonData .getButtonType ().equals (FormButtonBlockFile .TYPE_DELETE )) {
212
212
attributes .setProperty ("GET_ID" , entityIdAccessor );
213
213
}
214
214
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class DeleteBlock extends GenericButton implements ButtonProviderInterface
17
17
*/
18
18
public function getButtonData (): array
19
19
{
20
- if (!$ this ->getAmazingId ()) {
20
+ if (!$ this ->getBookId ()) {
21
21
return [];
22
22
}
23
23
You can’t perform that action at this time.
0 commit comments