Update AppUpdateContext to include availableUpdate in context provider, enhancing update management capabilities.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good

This commit is contained in:
Tom Butcher 2026-06-21 20:04:51 +01:00
parent b93b53fd33
commit 619df83ddd

View File

@ -220,7 +220,7 @@ export const AppUpdateProvider = ({ children }) => {
Boolean(installingUpdate) && updateProgress?.phase !== 'error'
return (
<AppUpdateContext.Provider value={{ checkForUpdates }}>
<AppUpdateContext.Provider value={{ availableUpdate, checkForUpdates }}>
{children}
<Modal
open={checking}