File tree Expand file tree Collapse file tree
view/adminhtml/templates/form Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?php
22declare (strict_types=1 );
33
4- /** @version 0.6.4 */
5-
64use Loki \AdminComponents \Form \Field \Field ;
75use Loki \CssUtils \Util \CssClass ;
86use Magento \Framework \Escaper ;
97use Magento \Framework \View \Element \Template ;
108use Loki \AdminComponents \Component \Form \FormViewModel ;
119use Loki \Components \Util \Block \ChildRenderer ;
1210
11+ /** @version 0.6.4 */
1312/** @var Escaper $escaper */
1413/** @var Template $block */
1514/** @var Field $field */
@@ -20,7 +19,7 @@ use Loki\Components\Util\Block\ChildRenderer;
2019$ viewModel = $ block ->getViewModel ();
2120$ buttons = $ viewModel ->getButtons ();
2221$ mainSaveAction = false ;
23- $ otherSaveActions = [];
22+ $ otherSaveActions = ( array ) $ block -> getOtherSaveActions (); // @todo: Test whether this is working
2423?>
2524<div class="page-main-actions">
2625 <div class="page-actions-placeholder"></div>
@@ -62,9 +61,7 @@ $otherSaveActions = [];
6261 class="dropdown-menu"
6362 x-cloak x-show="showOtherActions"
6463 >
65- <?php foreach (
66- $ otherSaveActions as $ otherSaveAction
67- ): ?>
64+ <?php foreach ($ otherSaveActions as $ otherSaveAction ): ?>
6865 <li>
6966 <span
7067 @click.prevent="saveAndDuplicateAction"
You can’t perform that action at this time.
0 commit comments