diff --git a/client/core/src/components/table/index.js b/client/core/src/components/table/index.js index 047e82278..9f78a3e96 100644 --- a/client/core/src/components/table/index.js +++ b/client/core/src/components/table/index.js @@ -25,7 +25,7 @@ export default class Table { } $onChanges() { - if (this.model) + if (this.model && this.model.filter) this.applyFilter(); } diff --git a/client/core/src/components/table/style.scss b/client/core/src/components/table/style.scss index 821a71f52..5a7be62c0 100644 --- a/client/core/src/components/table/style.scss +++ b/client/core/src/components/table/style.scss @@ -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; + } } } }