diff --git a/src/database/models/Product.js b/src/database/models/Product.js index 21ea334..3cffd91 100644 --- a/src/database/models/Product.js +++ b/src/database/models/Product.js @@ -131,6 +131,13 @@ export const Product = { readOnly: true, columnWidth: 180 }, + { + name: 'updatedAt', + label: 'Updated At', + type: 'dateTime', + readOnly: true, + columnWidth: 175 + }, { name: 'name', label: 'Name', @@ -139,31 +146,15 @@ export const Product = { columnWidth: 200, columnFixed: 'left' }, - { - name: 'updatedAt', - label: 'Updated At', - type: 'dateTime', - readOnly: true, - columnWidth: 175 - }, { name: 'productCategory', - label: 'Product Category', + label: 'Category', required: true, type: 'object', objectType: 'productCategory', showHyperlink: true, columnWidth: 200 }, - { - name: 'vendor', - label: 'Vendor', - required: true, - type: 'object', - objectType: 'vendor', - showHyperlink: true, - columnWidth: 200 - }, { name: 'version', label: 'Version', @@ -171,6 +162,15 @@ export const Product = { type: 'text', columnWidth: 120 }, + { + name: 'vendor', + label: 'Vendor', + required: true, + type: 'object', + objectType: 'vendor', + showHyperlink: true, + columnWidth: 200 + }, { name: 'tags', label: 'Tags',