Skip to content

Commit

Permalink
[concepts] fix navigation crash from concepts page to shots page for …
Browse files Browse the repository at this point in the history
…a production without episode

related to github issue #1527
  • Loading branch information
NicoPennec committed Sep 10, 2024
1 parent f5d5aa3 commit 2108e96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/pages/Concepts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,9 @@ export default {
async refreshConcepts() {
this.loading.loadingConcepts = true
try {
this.setCurrentEpisode('all') // mandatory to load all assets
if (this.isTVShow) {
this.setCurrentEpisode('all') // mandatory to load all assets of a TV show
}
await this.loadAssets(true)
await this.loadConcepts()
} catch (err) {
Expand Down

0 comments on commit 2108e96

Please sign in to comment.