We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b666417 commit e227a4cCopy full SHA for e227a4c
src/app/Library/Uploaders/Support/RegisterUploadEvents.php
@@ -46,7 +46,7 @@ private function registerEvents(array|null $subfield = [], ?bool $registerModelE
46
$attributes = $this->crudObject->getAttributes();
47
$model = $attributes['model'] ?? get_class($this->crudObject->crud()->getModel());
48
$uploader = $this->getUploader($attributes, $this->uploaderConfiguration);
49
-
+
50
if (isset($attributes['relation_type']) && $attributes['entity'] !== false) {
51
$uploader = $uploader->relationship(true);
52
}
0 commit comments