From 03c9b7ffa604ed81e0c0f851b76cce4920c0bbe2 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Thu, 21 May 2020 12:15:41 +0200 Subject: [PATCH] Removed fetchSelection() --- e2e/paths/07-order/03_lines.spec.js | 2 +- front/core/components/datalist/index.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/e2e/paths/07-order/03_lines.spec.js b/e2e/paths/07-order/03_lines.spec.js index 9a214cfeb..6f87b45f0 100644 --- a/e2e/paths/07-order/03_lines.spec.js +++ b/e2e/paths/07-order/03_lines.spec.js @@ -35,7 +35,7 @@ describe('Order lines', () => { const result = await page .waitToGetProperty(selectors.orderLine.orderSubtotal, 'innerText'); - expect(result).toContain('80.54'); + expect(result).toContain('90.10'); }); it('should confirm the whole order and redirect to ticket index filtered by clientFk', async() => { diff --git a/front/core/components/datalist/index.js b/front/core/components/datalist/index.js index 684918a5f..08744f1ed 100644 --- a/front/core/components/datalist/index.js +++ b/front/core/components/datalist/index.js @@ -33,9 +33,6 @@ export default class Datalist extends Textfield { if (this.validSelection(value)) return; - if (!oldValue) - return this.fetchSelection(); - this.$timeout.cancel(this.searchTimeout); if (this.model) {