Skip to content

Commit

Permalink
Merge pull request #48 from fsavina/master
Browse files Browse the repository at this point in the history
Fix field preview with multiple translatable tabs on the same resource
  • Loading branch information
kongulov authored Jul 23, 2024
2 parents 1ac451f + a868871 commit 412d60f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Http/Controllers/FieldPreviewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public function invoke(NovaRequest $request)
return isset($field->attribute) &&
$field->attribute == $request->field;
});
if($field) break;
}

if (!$field) abort(404);
Expand Down

0 comments on commit 412d60f

Please sign in to comment.