mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
remove rule
This commit is contained in:
@@ -56,8 +56,7 @@ class LibraryItemForm extends Component
|
|||||||
'required',
|
'required',
|
||||||
Rule::when(
|
Rule::when(
|
||||||
$this->libraryItem->type !== LibraryItemType::MarkdownArticle()
|
$this->libraryItem->type !== LibraryItemType::MarkdownArticle()
|
||||||
&& $this->libraryItem->type !== LibraryItemType::MarkdownArticleExtern()
|
&& $this->libraryItem->type !== LibraryItemType::MarkdownArticleExtern(), ['url']
|
||||||
&& $this->libraryItem->type !== LibraryItemType::DownloadableFile(), ['url']
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
'libraryItem.subtitle' =>
|
'libraryItem.subtitle' =>
|
||||||
|
|||||||
Reference in New Issue
Block a user