Globally inform about successful webUI updates

In case automatic webUI updates are disabled, the user gets informed about available updates
This commit is contained in:
schroda
2024-04-21 14:59:10 +02:00
parent 7725673dd7
commit c4d77d2325
4 changed files with 131 additions and 48 deletions

View File

@@ -39,6 +39,7 @@ import { Migrate } from '@/screens/Migrate.tsx';
import { DeviceSetting } from '@/components/settings/DeviceSetting.tsx';
import { TrackingSettings } from '@/screens/settings/TrackingSettings.tsx';
import { TrackerOAuthLogin } from '@/screens/TrackerOAuthLogin.tsx';
import { WebUIUpdateChecker } from '@/components/util/WebUIUpdateChecker.tsx';
if (process.env.NODE_ENV !== 'production') {
// Adds messages only in a dev environment
@@ -74,6 +75,7 @@ export const App: React.FC = () => (
<AppContext>
<ScrollToTop />
<ServerUpdateChecker />
<WebUIUpdateChecker />
<BackgroundSubscriptions />
<CssBaseline />
<DefaultNavBar />