Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix schedule and forced search from schedule #7512

Merged
merged 2 commits into from
Dec 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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