mirror of
https://github.com/devfake/flox.git
synced 2024-11-15 06:32:34 +01:00
3a2f6e2ecd
* get next episode * show current season and scroll to next episode * update production files * typos * refactor for review
31 lines
614 B
Vue
31 lines
614 B
Vue
<template>
|
|
<div class="all-modals">
|
|
<transition mode="out-in" name="fade">
|
|
<season v-if="modalType == 'season'"></season>
|
|
</transition>
|
|
<span class="overlay" v-if="overlay" @click="CLOSE_MODAL()"></span>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import Season from './Season.vue';
|
|
|
|
import { mapState, mapMutations } from 'vuex';
|
|
|
|
export default {
|
|
computed: {
|
|
...mapState({
|
|
overlay: state => state.overlay,
|
|
modalType: state => state.modalType
|
|
})
|
|
},
|
|
|
|
methods: {
|
|
...mapMutations([ 'CLOSE_MODAL' ])
|
|
},
|
|
|
|
components: {
|
|
Season
|
|
}
|
|
}
|
|
</script> |