Update DocumentPrinter model to adjust 'updatedAt' and 'connectedAt' fields

- Added a new 'updatedAt' field for tracking the last update timestamp.
- Replaced the existing 'updatedAt' field with 'connectedAt' to accurately reflect the connection time.
- Ensured both fields are read-only and properly formatted for display in the UI.
This commit is contained in:
Tom Butcher 2026-07-27 02:39:30 +01:00
parent a23ff0c008
commit 46173a54a5

View File

@ -91,6 +91,13 @@ export const DocumentPrinter = {
readOnly: true,
columnWidth: 180
},
{
name: 'updatedAt',
label: 'Updated At',
type: 'dateTime',
readOnly: true,
columnWidth: 175
},
{
name: 'name',
label: 'Name',
@ -99,13 +106,15 @@ export const DocumentPrinter = {
columnWidth: 200,
columnFixed: 'left'
},
{
name: 'updatedAt',
label: 'Updated At',
name: 'connectedAt',
label: 'Connected At',
type: 'dateTime',
readOnly: true,
columnWidth: 175
},
{
name: 'state',
label: 'Status',
@ -115,13 +124,7 @@ export const DocumentPrinter = {
readOnly: true,
columnWidth: 260
},
{
name: 'connectedAt',
label: 'Connected At',
type: 'dateTime',
readOnly: true,
columnWidth: 175
},
{
name: 'online',
label: 'Online',