diff --git a/app/pages/project/instances/instance/InstancePage.tsx b/app/pages/project/instances/instance/InstancePage.tsx index cc56f1e6b..376635558 100644 --- a/app/pages/project/instances/instance/InstancePage.tsx +++ b/app/pages/project/instances/instance/InstancePage.tsx @@ -49,7 +49,7 @@ import { PageHeader, PageTitle } from '~/ui/lib/PageHeader' import { PropertiesTable } from '~/ui/lib/PropertiesTable' import { Spinner } from '~/ui/lib/Spinner' import { Tooltip } from '~/ui/lib/Tooltip' -import { Truncate } from '~/ui/lib/Truncate' +import { truncate, Truncate } from '~/ui/lib/Truncate' import { pb } from '~/util/path-builder' import { GiB } from '~/util/units' @@ -333,8 +333,9 @@ export function ResizeInstanceModal({ variant="info" content={
- Current ({instance.name}): {instance.ncpus} vCPUs /{' '} - {instance.memory / GiB} GiB + Current ( + {truncate(instance.name, 20)} + ): {instance.ncpus} vCPUs / {instance.memory / GiB} GiB
} />