From 56c77cc17a0821820676338d7e682b6d0250412e Mon Sep 17 00:00:00 2001 From: Benjamin Takats Date: Wed, 18 Jan 2023 18:15:37 +0100 Subject: [PATCH] onlyOnDetail --- app/Nova/Lecturer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Nova/Lecturer.php b/app/Nova/Lecturer.php index 35f15474..5b15f033 100644 --- a/app/Nova/Lecturer.php +++ b/app/Nova/Lecturer.php @@ -115,7 +115,7 @@ class Lecturer extends Resource ->help('Markdown is allowed. You can paste images from the "Images" field here. Use the link icon of the images for the urls after clicking "Update and continue".'), BelongsTo::make('Team') - ->exceptOnForms(), + ->onlyOnDetail(), BelongsTo::make(__('Created By'), 'createdBy', User::class) ->canSee(function ($request) {