exceptOnForms for createdBy

This commit is contained in:
Benjamin Takats
2022-12-15 14:57:28 +01:00
parent 9e43f166a3
commit 7be1194e43
15 changed files with 36 additions and 21 deletions

View File

@@ -112,7 +112,8 @@ class Episode extends Resource
BelongsTo::make(__('Podcast'), 'podcast', Podcast::class)
->readonly(),
BelongsTo::make(__('Created By'), 'createdBy', User::class)->onlyOnIndex(),
BelongsTo::make(__('Created By'), 'createdBy', User::class)
->exceptOnForms(),
];
}