mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-20 03:02:34 +03:00
Remove false-positive on new version detection
This commit is contained in:
1 parent
877f01bd38
commit
73e1a8fa06
1 file changed
+1
-1
@@ -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])
|
||||
|
||||
Reference in new issue
Block a user