1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-08 23:35:31 +02:00

feat(ui): cluster setup page done EE-3705 (#7267)

This commit is contained in:
Prabhat Khera 2022-07-22 14:16:50 +12:00 committed by GitHub
parent 9a92b97b7e
commit 3645ff7459
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 88 additions and 65 deletions

View file

@ -101,7 +101,7 @@ export function EnvironmentItem({ environment, onClick, groupName }: Props) {
<i className="fa fa-memory space-left space-right" />
{humanize(environment.Snapshots[0].TotalMemory)}
<i className="fa fa-digital-tachograph space-left space-right" />
{environment.Gpus.length}
{environment.Gpus?.length}
</span>
)}
<span className="space-left space-right">-</span>

View file

@ -13,4 +13,5 @@ export const switchField = r2a(SwitchField, [
'onChange',
'featureId',
'switchValues',
'switchClass',
]);