mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-10 11:29:07 +00:00
Fix: Correct props passed to PlexLibraryStats component
PlexLibraryStats expects individual number props: - movies: number - shows: number - music: number - watchtime: number - loading?: boolean PlexSettings was incorrectly passing: - :stats="libraryStats" (single object) Fixed to destructure and pass individual props: - :movies="libraryStats.movies" - :shows="libraryStats.shows" - :music="libraryStats.music" - :watchtime="libraryStats.watchtime" Library stats now display correctly ✓
This commit is contained in:
@@ -16,7 +16,10 @@
|
||||
/>
|
||||
|
||||
<PlexLibraryStats
|
||||
:stats="libraryStats"
|
||||
:movies="libraryStats.movies"
|
||||
:shows="libraryStats.shows"
|
||||
:music="libraryStats.music"
|
||||
:watchtime="libraryStats.watchtime"
|
||||
:loading="loadingLibraries"
|
||||
@open-library="showLibraryDetails"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user