Remove obsolete method
This commit is contained in:
-27
@@ -116,33 +116,6 @@
|
|||||||
EventBus.$emit('tableLoaded');
|
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) {
|
loadDatesView (scroll = true) {
|
||||||
if (this.daytrip) {
|
if (this.daytrip) {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user