Skip to content

Commit

Permalink
fix card-action demo UA /w entity usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Dec 29, 2021
1 parent 0c1887d commit 179c59b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/interactive/card-action.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
$c->addSection('Project: ', $stat, [$stat->fieldName()->start_date, $stat->fieldName()->finish_date], true);

$country = $stat->client_country_iso;
$notify = $country->addUserAction('Notify', [
$notify = $country->getModel()->addUserAction('Notify', [
'args' => [
'note' => ['type' => 'string', 'required' => true],
],
Expand Down

0 comments on commit 179c59b

Please sign in to comment.