diff --git a/src/classes/filter-types/filter-types-mixin.js b/src/classes/filter-types/filter-types-mixin.js index 8bf142104..694655398 100644 --- a/src/classes/filter-types/filter-types-mixin.js +++ b/src/classes/filter-types/filter-types-mixin.js @@ -216,5 +216,11 @@ export const filter_type_mixin = { source: source }); } - } + }, + beforeDestroy() { + // Cancels previous Request + if (this.getOptionsValuesCancel != undefined) + this.getOptionsValuesCancel.cancel('Facet search Canceled.'); + + }, }; \ No newline at end of file diff --git a/src/theme-helper/view-mode-slideshow.vue b/src/theme-helper/view-mode-slideshow.vue index 89a3a5363..fcf11abef 100644 --- a/src/theme-helper/view-mode-slideshow.vue +++ b/src/theme-helper/view-mode-slideshow.vue @@ -238,7 +238,7 @@ import axios from '../js/axios/axios.js'; import 'swiper/dist/css/swiper.css'; import { swiper, swiperSlide } from 'vue-awesome-swiper'; import CircularCounter from '../admin/components/other/circular-counter.vue'; - + export default { name: 'ViewModeSlideshow', props: { diff --git a/webpack.config.js b/webpack.config.js index 3eaeb7ea1..7eaba9161 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -31,7 +31,7 @@ module.exports = { { test: /\.js$/, loader: 'babel-loader', - exclude: /node_modules/ + exclude: /node_modules/, }, { test: /\.(png|jpg|jpeg|gif|eot|ttf|woff|woff2|svg|svgz)(\?.+)?$/, @@ -105,7 +105,8 @@ if (production === true) { module.exports.resolve = { alias: { - 'vue$': 'vue/dist/vue.min' + 'vue$': 'vue/dist/vue.min', + 'swiper$': 'swiper/dist/js/swiper.js' } } } else {