-
Notifications
You must be signed in to change notification settings - Fork 111
CardDeck default UserAction not working #1844
Copy link
Copy link
Closed
Labels
Description
Steps to reproduce:
- add default CardDeck to any view
- set any model to CardDeck
- Press default UserAction 'Add' and enter entity
Error:
- Expected entity, but instance is a model
Line 262 in a8a08cf
if ($action->getModel()->isLoaded() && $card = $this->findCard($action->getModel())) {
and here
Line 296 in a8a08cf
| if (in_array($model->getId(), array_map($mapResults, $model->export([$model->idField])), true)) { |
Replacing $action->getModel() by $action->getEntity() also won't fix it...
Reactions are currently unavailable