Update HostInfo component to set label width for improved layout and modify Host model to add 'updatedAt' field while removing 'connectedAt' field for better data management.

This commit is contained in:
Tom Butcher 2026-07-13 23:37:30 +01:00
parent 76757998c8
commit 333ce96fd8
2 changed files with 10 additions and 9 deletions

View File

@ -170,6 +170,7 @@ const HostInfo = () => {
isEditing={isEditing}
type='host'
objectData={objectData}
labelWidth='175px'
/>
)
}}

View File

@ -103,6 +103,13 @@ export const Host = {
readOnly: true,
columnWidth: 180
},
{
name: 'updatedAt',
label: 'Updated At',
type: 'dateTime',
readOnly: true,
columnWidth: 175
},
{
name: 'name',
label: 'Name',
@ -112,8 +119,8 @@ export const Host = {
columnFixed: 'left'
},
{
name: 'updatedAt',
label: 'Updated At',
name: 'connectedAt',
label: 'Connected At',
type: 'dateTime',
readOnly: true,
columnWidth: 175
@ -127,13 +134,6 @@ export const Host = {
readOnly: true,
columnWidth: 250
},
{
name: 'connectedAt',
label: 'Connected At',
type: 'dateTime',
readOnly: true,
columnWidth: 175
},
{
name: 'online',
label: 'Online',