@kizmann/nano-ui 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kizmann/nano-ui",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -40,7 +40,7 @@ export default {
40
40
  data()
41
41
  {
42
42
  return {
43
- filter: Obj.clone(this.tempFilter), visible: false
43
+ filter: this.getFilterClone(), visible: false
44
44
  };
45
45
  },
46
46
 
@@ -69,6 +69,17 @@ export default {
69
69
 
70
70
  methods: {
71
71
 
72
+ getFilterClone()
73
+ {
74
+ let tempFilter = this.NTable.getColumnFilter(this.column);
75
+
76
+ if ( Any.isEmpty(tempFilter) ) {
77
+ return null;
78
+ }
79
+
80
+ return Obj.clone(tempFilter);
81
+ },
82
+
72
83
  getFilterProp()
73
84
  {
74
85
  return this.column.filterProp ||