diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt
index fa771ca6..688c1105 100644
--- a/ayanova/devdocs/todo.txt
+++ b/ayanova/devdocs/todo.txt
@@ -10,9 +10,8 @@ MISC ITEMS THAT CAME UP
LISTVIEW REPLACE CURRENT <----HERE not THERE ---v
(below this is all past for reference)
Header filter icon
- https://github.com/vuetifyjs/vuetify/issues/1548
- https://codepen.io/aldarund/pen/yqgVgy
-
+ make unfiltered look pale
+ filtered look strong
Customers
diff --git a/ayanova/src/components/data-table.vue b/ayanova/src/components/data-table.vue
index 8e0f47b3..b9c306e0 100644
--- a/ayanova/src/components/data-table.vue
+++ b/ayanova/src/components/data-table.vue
@@ -56,30 +56,20 @@
class="elevation-1"
data-cy="datatable"
>
-
-
-
+
-
+
+
+ $ayiFilter
+ {{ h.text }}
-
@@ -523,6 +513,14 @@ export default {
filter(item) {
console.log("filter:", item);
},
+ filterColor(item) {
+ let clr = "disabled";
+ if (item.fk == "customername") {
+ clr = "primary";
+ }
+ console.log("filter color:", { name: item.fk, clr: clr });
+ return clr;
+ },
keyArrayFromSortByArray(sortBy) {
return sortBy.map(sortItem => {
let val = this.headers.find(z => z.value == sortItem);