Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Nov 21, 2024
1 parent 5863090 commit 7eecf26
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/UserAction/ArgumentFormExecutor.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ public function initPreview(): void
$this->form = Form::addTo($this, ['buttonSave' => $this->executorButton]);

foreach ($this->action->args as $key => $val) {
if ($val instanceof Model) {
$val = ['model' => $val];
}

if (isset($val['model'])) {
$val['model'] = Factory::factory($val['model']);
$this->form->addControl($key, [Form\Control\Lookup::class])->setModel($val['model']);
Expand Down
4 changes: 0 additions & 4 deletions src/UserAction/StepExecutorTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@ protected function doArgs(View $page): void

$form = $this->addFormTo($page);
foreach ($this->action->args as $key => $val) {
if ($val instanceof Model) {
$val = ['model' => $val];
}

if (isset($val['model'])) {
$val['model'] = Factory::factory($val['model']);
$form->addControl($key, [Form\Control\Lookup::class])->setModel($val['model']);
Expand Down

0 comments on commit 7eecf26

Please sign in to comment.