Feat: Enable bookmark toggling from overview, improve disposition detail

This commit is contained in:
Björn Fromme
2023-10-20 18:26:25 +02:00
parent 30ce617cf7
commit 69a6e0a0b6
8 changed files with 68 additions and 29 deletions
+5
View File
@@ -85,6 +85,11 @@ class Upload implements BlameableEntityInterface, TimestampableEntityInterface
return $instance;
}
public function __toString()
{
return $this->getDisplayName() ?? $this->getOriginalFilename();
}
public function getId(): ?int
{
return $this->id;