Commit da371342 authored by esatakpunar's avatar esatakpunar

header position updated

parent ebb03b63
export default { export default {
headers() { headers() {
return [ return [
{ text: "Description", value: "data-table-expand" },
{ {
text: "Product Name", text: "Product Name",
align: "left", align: "left",
...@@ -12,8 +13,7 @@ export default { ...@@ -12,8 +13,7 @@ export default {
{ text: "Department", value: "department", type: "text" }, { text: "Department", value: "department", type: "text" },
{ text: "Color", value: "color", type: "text" }, { text: "Color", value: "color", type: "text" },
{ text: "Price", value: "price", type: "text" }, { text: "Price", value: "price", type: "text" },
{ text: "Image", value: "image", type: "text" }, { text: "Image", value: "image", type: "text", sortable: false },
{ text: "Description", value: "data-table-expand" },
{ text: "Actions", value: "actions", sortable: false }, { text: "Actions", value: "actions", sortable: false },
]; ];
}, },
...@@ -65,4 +65,10 @@ export default { ...@@ -65,4 +65,10 @@ export default {
totalProducts(state) { totalProducts(state) {
return state.totalProducts; return state.totalProducts;
}, },
getSearch(state) {
return state.search;
},
filterColumn(state) {
return state.filterColumn;
},
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment