Skip to content

Commit

Permalink
Fix schedule and forced search from schedule (#7512)
Browse files Browse the repository at this point in the history
* fix schedule and forced search from schedule

* Update changelog
  • Loading branch information
sharkykh authored and p0psicles committed Dec 19, 2019
1 parent ae5acb0 commit 0783cf5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- Fix `torrents.verifyCert` config patch ignored warning ([#7501](https://github.com/pymedusa/Medusa/pull/7501))
- Fix dragging and saving Anime / Series list handles in Home - Poster layout ([#7502](https://github.com/pymedusa/Medusa/pull/7502))
- Fix adding Anime with white/black listed release groups ([#7507](https://github.com/pymedusa/Medusa/pull/7507))
- Fix Schedule page and Forced Search on Schedule page ([#7512](https://github.com/pymedusa/Medusa/pull/#7512))

-----

Expand Down
2 changes: 1 addition & 1 deletion themes-default/slim/src/components/schedule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default {
mounted() {
// $store.dispatch('getShows');
this.$once('loaded', () => {
this.$root.$once('loaded', () => {
const { scheduleLayout, stateLayout, themeSpinner } = this;
const { comingEps } = stateLayout;
if (scheduleLayout === 'list') {
Expand Down
4 changes: 2 additions & 2 deletions themes-default/slim/src/global-vue-shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export default () => {
store.dispatch('getConfig'),
store.dispatch('getStats')
]).then(([_, config]) => {
this.$emit('loaded');
this.$root.$emit('loaded');
// Legacy - send config.main to jQuery (received by index.js)
const event = new CustomEvent('medusa-config-loaded', { detail: config.main });
window.dispatchEvent(event);
Expand All @@ -157,7 +157,7 @@ export default () => {
});
}

this.$once('loaded', () => {
this.$root.$once('loaded', () => {
this.$root.globalLoading = false;
});
},
Expand Down
Loading

0 comments on commit 0783cf5

Please sign in to comment.