fix: add useResourceRefresh hook to AlbumShow, ArtistShow, MissingFilesList, and PlaylistShow components

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan
2025-05-23 00:02:42 -04:00
parent 3ccc02f375
commit 9dd050c377
4 changed files with 8 additions and 3 deletions
+2
View File
@@ -9,6 +9,7 @@ import { makeStyles } from '@material-ui/core/styles'
import AlbumSongs from './AlbumSongs'
import AlbumDetails from './AlbumDetails'
import AlbumActions from './AlbumActions'
import { useResourceRefresh } from '../common'
const useStyles = makeStyles(
(theme) => ({
@@ -25,6 +26,7 @@ const AlbumShowLayout = (props) => {
const { loading, ...context } = useShowContext(props)
const { record } = context
const classes = useStyles()
useResourceRefresh('album', 'song')
return (
<>