feat(ui): make need for refresh more visible when upgrading server

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan
2025-02-21 18:15:25 -05:00
parent 74348a340f
commit f34f15ba1c
3 changed files with 68 additions and 11 deletions
+3
View File
@@ -29,6 +29,8 @@ const url = (command, id, options) => {
return `/rest/${command}?${params.toString()}`
}
const ping = () => httpClient(url('ping'))
const scrobble = (id, time, submission = true) =>
httpClient(
url('scrobble', id, {
@@ -88,6 +90,7 @@ const streamUrl = (id, options) => {
export default {
url,
ping,
scrobble,
nowPlaying,
download,