mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-16 00:13:25 -06:00
Fix Characters.vue not detecting state change, fix SeasonList.vue breaking with new preload schema
- Rename to PRELOAD_CHARACTERS from FETCH_CHARACTERS
This commit is contained in:
@@ -60,11 +60,11 @@ export default {
|
||||
},
|
||||
// if SeasonList episode data (titles/descriptions) is loaded and ready
|
||||
isPreloaded() {
|
||||
return this.$store.state.preloaded;
|
||||
return this.$store.getters.checkPreloaded('episodes');
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.$store.dispatch(types.PRELOAD)
|
||||
this.$store.dispatch(types.PRELOAD_EPISODES)
|
||||
},
|
||||
methods: {},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user