Remove false-positive on new version detection

This commit is contained in:
Deluan 2021-06-21 17:46:26 -04:00 committed by Joe Stump
parent 81b17bf941
commit 2f10418242
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -85,7 +85,7 @@ const ActivityPanel = () => {
}, [dispatch])
useEffect(() => {
if (serverStart.version !== config.version) {
if (serverStart.version && serverStart.version !== config.version) {
notify('ra.notification.new_version', 'info', {}, false, 604800000 * 50)
}
}, [serverStart, notify])