From 0b8e749939175fff8671358e518151b8cead7327 Mon Sep 17 00:00:00 2001 From: Carlos Jimenez Ruiz Date: Fri, 3 Jul 2020 15:14:57 +0200 Subject: [PATCH] removed autoLoad from vnTable --- front/core/components/table/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/front/core/components/table/index.js b/front/core/components/table/index.js index 0b9236c84..baed54821 100644 --- a/front/core/components/table/index.js +++ b/front/core/components/table/index.js @@ -7,7 +7,6 @@ export default class Table { this.table = $element[0]; this.field = null; this.order = null; - this.autoLoad = true; } setOrder(field, order) { @@ -25,9 +24,7 @@ export default class Table { } $onChanges() { - // FIXME: The autoload property should be removed from vnTable - // because it's already implemented at vnModel - if (this.autoLoad && this.model && !this.model.data) + if (this.model && !this.model.data) this.applyOrder(); }