File tree Expand file tree Collapse file tree
frontend/src/pages/Instances Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,11 +75,9 @@ export const InstanceDetailsPage: React.FC = () => {
7575 < DetailsHeader
7676 title = { data ?. name }
7777 actionButtons = {
78- < >
79- < Button onClick = { deleteClickHandle } disabled = { isDisabledDeleteButton } >
80- { t ( 'common.delete' ) }
81- </ Button >
82- </ >
78+ < Button onClick = { deleteClickHandle } disabled = { isDisabledDeleteButton } >
79+ { t ( 'common.delete' ) }
80+ </ Button >
8381 }
8482 />
8583 }
Original file line number Diff line number Diff line change @@ -8,8 +8,7 @@ import { DATE_TIME_FORMAT } from 'consts';
88import { formatBackend , getStatusIconType } from 'libs/fleet' ;
99import { formatInstanceStatusText , getHealthStatusIconType } from 'libs/instance' ;
1010import { formatResources } from 'libs/resources' ;
11-
12- import { ROUTES } from '../../../../routes' ;
11+ import { ROUTES } from 'routes' ;
1312
1413export const useColumnsDefinitions = ( ) => {
1514 const { t } = useTranslation ( ) ;
@@ -20,9 +19,7 @@ export const useColumnsDefinitions = () => {
2019 header : t ( 'fleets.instances.instance_name' ) ,
2120 cell : ( item ) =>
2221 item . project_name ? (
23- < NavigateLink href = { ROUTES . INSTANCES . DETAILS . FORMAT ( item . project_name , item . id ) } >
24- { item . name }
25- </ NavigateLink >
22+ < NavigateLink href = { ROUTES . INSTANCES . DETAILS . FORMAT ( item . project_name , item . id ) } > { item . name } </ NavigateLink >
2623 ) : (
2724 item . name
2825 ) ,
@@ -53,9 +50,7 @@ export const useColumnsDefinitions = () => {
5350 id : 'status' ,
5451 header : t ( 'fleets.instances.status' ) ,
5552 cell : ( item ) => (
56- < StatusIndicator type = { getStatusIconType ( item . status ) } >
57- { formatInstanceStatusText ( item ) }
58- </ StatusIndicator >
53+ < StatusIndicator type = { getStatusIconType ( item . status ) } > { formatInstanceStatusText ( item ) } </ StatusIndicator >
5954 ) ,
6055 } ,
6156 {
You can’t perform that action at this time.
0 commit comments