feat: use new variant type

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-08-29 19:11:45 -04:00
parent 6b040ba19e
commit ce246669d9
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -1351,7 +1351,7 @@ class Manager {
/**
* Resolve an authorized entity and lazily generate or retrieve its preview.
*/
public function entityPreview(string $tenantId, string $userId, EntityIdentifier $target, string $variant = 'popover'): ?Preview {
public function entityPreview(string $tenantId, string $userId, EntityIdentifier $target, string $variant = 'inline'): ?Preview {
$entities = $this->entityFetchBulk($tenantId, $userId, $target);
$entity = $entities[$target->entity()] ?? reset($entities);
if (!$entity instanceof EntityBaseInterface) {