Skip to content

Commit

Permalink
no need to load one loaded traversal
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Apr 28, 2021
1 parent 695a043 commit cccf2ad
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 @@ -23,7 +23,7 @@

$c->addSection('Project: ', $stat, [$stat->fieldName()->start_date, $stat->fieldName()->finish_date], true);

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

0 comments on commit cccf2ad

Please sign in to comment.