We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7eed8b6 + b332fb4 commit be52297Copy full SHA for be52297
src/Ui/Component/Control/SaveSplitButton.php
@@ -112,31 +112,7 @@ private function getOptions(): array
112
],
113
114
'sort_order' => 10,
115
- ],
116
- [
117
- 'label' => __('Save & New'),
118
- 'data_attribute' => [
119
- 'mage-init' => [
120
- 'buttonAdapter' => [
121
- 'actions' => [
122
123
- 'targetName' => $this->targetName,
124
- 'actionName' => 'save',
125
- 'params' => [
126
- // first param is redirect flag, second is data that will be added to post
127
- // request
128
- true,
129
130
- 'redirect_to_new' => 1,
131
132
133
134
135
136
137
138
- 'sort_order' => 20,
139
+ ]
140
];
141
return $options;
142
}
0 commit comments