Fix: pending_calibration shows Identify Version button instead of checkmark
Chronicler #85 direct fix (Code unavailable on mobile): - ModpackAPIController: add pending_calibration flag to serverStatus response - wrapper.tsx: add pending_calibration to StatusData interface - wrapper.tsx: render Identify Version button when pending_calibration is true Replaces false green checkmark for servers needing calibration.
This commit is contained in:
@@ -311,6 +311,7 @@ class ModpackAPIController extends Controller
|
||||
|
||||
return response()->json([
|
||||
'configured' => !empty($cached->platform) && $cached->status !== 'unconfigured',
|
||||
'pending_calibration' => $cached->status === 'pending_calibration',
|
||||
'platform' => $cached->platform,
|
||||
'modpack_name' => $cached->modpack_name,
|
||||
'current_version' => $cached->current_version,
|
||||
|
||||
Reference in New Issue
Block a user