mirror of
https://github.com/navidrome/navidrome.git
synced 2025-06-07 10:53:22 +03:00
Remove false-positive on new version detection
This commit is contained in:
parent
877f01bd38
commit
73e1a8fa06
@ -85,7 +85,7 @@ const ActivityPanel = () => {
|
|||||||
}, [dispatch])
|
}, [dispatch])
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (serverStart.version !== config.version) {
|
if (serverStart.version && serverStart.version !== config.version) {
|
||||||
notify('ra.notification.new_version', 'info', {}, false, 604800000 * 50)
|
notify('ra.notification.new_version', 'info', {}, false, 604800000 * 50)
|
||||||
}
|
}
|
||||||
}, [serverStart, notify])
|
}, [serverStart, notify])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user