fix(ui): don't hide Last.fm scrobble switch (#3561)

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan Quintão
2024-12-19 09:08:28 -05:00
committed by GitHub
parent 6c11649b06
commit 2d8507cfd7
7 changed files with 52 additions and 38 deletions
-2
View File
@@ -22,7 +22,6 @@ function storeAuthenticationInfo(authInfo) {
localStorage.setItem('role', authInfo.isAdmin ? 'admin' : 'regular')
localStorage.setItem('subsonic-salt', authInfo.subsonicSalt)
localStorage.setItem('subsonic-token', authInfo.subsonicToken)
localStorage.setItem('lastfm-apikey', authInfo.lastFMApiKey)
localStorage.setItem('is-authenticated', 'true')
}
@@ -104,7 +103,6 @@ const removeItems = () => {
localStorage.removeItem('role')
localStorage.removeItem('subsonic-salt')
localStorage.removeItem('subsonic-token')
localStorage.removeItem('lastfm-apikey')
localStorage.removeItem('is-authenticated')
}