Skip to content

Commit 43dd284

Browse files
author
roadiz-ci
committed
feat(document): Add help text for document translation name field
1 parent d77ff4f commit 43dd284

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Models/BaseDocumentTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public function getRelativePath(): ?string
274274
]
275275
public function isProcessable(): bool
276276
{
277-
return $this->isImage() && in_array($this->getMimeType(), static::$processableMimeTypes, true);
277+
return !$this->isPrivate() && $this->isImage() && in_array($this->getMimeType(), static::$processableMimeTypes, true);
278278
}
279279

280280
#[

0 commit comments

Comments
 (0)