Trigger UI refresh on media annotation events: star, setRating and scrobble

This commit is contained in:
Deluan
2021-06-10 12:20:52 -04:00
parent 2afb2db7ef
commit cefc939909
8 changed files with 33 additions and 13 deletions
+2
View File
@@ -23,6 +23,7 @@ import {
RatingField,
QualityInfo,
useSelectedFields,
useResourceRefresh,
} from '../common'
import { AddToPlaylistDialog } from '../dialogs'
import config from '../config'
@@ -88,6 +89,7 @@ const AlbumSongs = (props) => {
const classes = useStyles({ isDesktop })
const dispatch = useDispatch()
const version = useVersion()
useResourceRefresh('song', 'album')
const toggleableFields = useMemo(() => {
return {