mirror of
https://github.com/owncast/owncast.git
synced 2024-11-26 06:46:01 +03:00
Remove disable upgrade check bool
This commit is contained in:
parent
3790aba34f
commit
ed80ac13b5
2 changed files with 1 additions and 2 deletions
|
@ -81,7 +81,7 @@ export default function MainLayout(props) {
|
||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!performedUpgradeCheck && !context.disableUpgradeChecks) {
|
if (!performedUpgradeCheck) {
|
||||||
checkForUpgrade();
|
checkForUpgrade();
|
||||||
performedUpgradeCheck = true
|
performedUpgradeCheck = true
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,6 @@ const initialServerStatusState = {
|
||||||
sessionMaxViewerCount: 0,
|
sessionMaxViewerCount: 0,
|
||||||
sessionPeakViewerCount: 0,
|
sessionPeakViewerCount: 0,
|
||||||
overallPeakViewerCount: 0,
|
overallPeakViewerCount: 0,
|
||||||
disableUpgradeChecks: true,
|
|
||||||
versionNumber: '0.0.0',
|
versionNumber: '0.0.0',
|
||||||
streamTitle: '',
|
streamTitle: '',
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue