removed autoLoad from vnTable
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2020-07-03 15:14:57 +02:00
parent 3284ef5b55
commit 0b8e749939
1 changed files with 1 additions and 4 deletions

View File

@ -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();
}