79181811

Date: 2024-11-12 15:45:54
Score: 0.5
Natty:
Report link

This is a loaded question! Start by fixing the isEdit logic using the NovaRequest to properly detect if you’re in update or detail mode:

$isEdit = $request->isUpdateOrUpdateAttachedRequest() || $request->isResourceDetailRequest();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jon Menard