Browse Source

Remove disable upgrade check bool

pull/1886/head
Gabe Kangas 5 years ago
parent
commit
ed80ac13b5
  1. 2
      web/pages/components/main-layout.tsx
  2. 1
      web/utils/server-status-context.tsx

2
web/pages/components/main-layout.tsx

@ -81,7 +81,7 @@ export default function MainLayout(props) { @@ -81,7 +81,7 @@ export default function MainLayout(props) {
};
useEffect(() => {
if (!performedUpgradeCheck && !context.disableUpgradeChecks) {
if (!performedUpgradeCheck) {
checkForUpgrade();
performedUpgradeCheck = true
}

1
web/utils/server-status-context.tsx

@ -52,7 +52,6 @@ const initialServerStatusState = { @@ -52,7 +52,6 @@ const initialServerStatusState = {
sessionMaxViewerCount: 0,
sessionPeakViewerCount: 0,
overallPeakViewerCount: 0,
disableUpgradeChecks: true,
versionNumber: '0.0.0',
streamTitle: '',
};

Loading…
Cancel
Save