diff --git a/app/Http/Livewire/Library/Form/LibraryItemForm.php b/app/Http/Livewire/Library/Form/LibraryItemForm.php index 491cc97a..1bce8c07 100644 --- a/app/Http/Livewire/Library/Form/LibraryItemForm.php +++ b/app/Http/Livewire/Library/Form/LibraryItemForm.php @@ -56,8 +56,7 @@ class LibraryItemForm extends Component 'required', Rule::when( $this->libraryItem->type !== LibraryItemType::MarkdownArticle() - && $this->libraryItem->type !== LibraryItemType::MarkdownArticleExtern() - && $this->libraryItem->type !== LibraryItemType::DownloadableFile(), ['url'] + && $this->libraryItem->type !== LibraryItemType::MarkdownArticleExtern(), ['url'] ), ], 'libraryItem.subtitle' =>