Skip to content

Commit

Permalink
fix null error
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiritin committed May 27, 2024
1 parent 8176c61 commit 008dc6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Filament/Resources/GroupResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public static function form(Form $form): Form
->required(),
TextInput::make('nextcloud_folder_name')
->label('Nextcloud Folder Name')
->hiddenOn('create')
->required(fn(Group|null $record
) => $record !== null && !empty($record->nextcloud_folder_id))
->hint('Leave empty if the group should not be allowed to access Nextcloud.')
Expand Down

0 comments on commit 008dc6f

Please sign in to comment.