From 2df9ae601eb1bfa6ef670468deda3de9a10c1d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Wed, 21 Aug 2019 11:35:58 +0200 Subject: [PATCH] Remove obsolete method --- .../Assets/js/components/ProductDetail.vue | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/ProductDetail.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/ProductDetail.vue index 8e3de65b..8da007d6 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/ProductDetail.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/ProductDetail.vue @@ -116,33 +116,6 @@ EventBus.$emit('tableLoaded'); }); }, - loadSelectableDates () { - this.loading = true; - this.datesShow = true; - this.priceTableShow = false; - this.detailShow = false; - let query = {}; - query[this.argumentPrefix + '[product]'] = this.filterSettings; - axios({ - url: this.uris['dateslist'], - method: 'post', - data: $.param(query) - }).then(response => { - const json = response.data; - if (json.dates.length === 1) { - this.singleDate = true; - let dateRow = json.dates[0]; - this.loadPriceTableView(dateRow.dateUid); - } else { - this.singleDate = false; - this.datesRows = json.dates; - this.bookable = json.bookable; - this.altLabel = json.altLabel; - this.altProductLink = json.altProductLink; - this.loading = false; - } - }); - }, loadDatesView (scroll = true) { if (this.daytrip) { this.loading = false;