Fixed vnTable trying to apply filter an it's not defined.
This commit is contained in:
parent
15de049317
commit
64eef322e9
|
@ -25,7 +25,7 @@ export default class Table {
|
|||
}
|
||||
|
||||
$onChanges() {
|
||||
if (this.model)
|
||||
if (this.model && this.model.filter)
|
||||
this.applyFilter();
|
||||
}
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@ vn-table {
|
|||
display: table-header-group;
|
||||
|
||||
vn-th[field] {
|
||||
position: relative;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
|
@ -84,6 +85,10 @@ vn-table {
|
|||
&[number]{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
vn-icon.bright, i.bright {
|
||||
color: #f7931e;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue