Remove obsolete method

This commit is contained in:
Björn Fromme
2019-08-21 11:35:58 +02:00
parent 5d9ad33b69
commit 2df9ae601e
@@ -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;