fix: hunt steps
This commit is contained in:
parent
0f86c78248
commit
ab74e96613
|
|
@ -134,8 +134,8 @@ class HuntsController extends Controller
|
|||
return true; // Show past steps fully
|
||||
}
|
||||
if ($step->step_number == $currentStepNumber) {
|
||||
// Hide hints for current step
|
||||
$step->makeHidden(['hint_text', 'hint_media_url']);
|
||||
// Show hints but hide location for current step
|
||||
$step->makeHidden(['latitude', 'longitude', 'radius_m']);
|
||||
return true;
|
||||
}
|
||||
return false; // Hide future steps
|
||||
|
|
|
|||
Loading…
Reference in New Issue