Skip to content

Commit

Permalink
Merge pull request #3951 from dlabrecq/ec2-fixes
Browse files Browse the repository at this point in the history
Update AWS EC2 instances table
  • Loading branch information
dlabrecq authored Jul 29, 2024
2 parents 9dfbcac + a2887a6 commit 0be2f50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/api/resources/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface Resource extends PagedResponse<ResourceData, PagedMetaData> {}
export const enum ResourceType {
account = 'account',
aws_category = 'aws_category',
aws_ec2_instance = 'instance',
aws_ec2_instance = 'instance_name',
aws_ec2_os = 'operating_system',
cluster = 'cluster',
gcpProject = 'gcp_project',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const InstancesTable: React.FC<InstancesTableProps> = ({
...(computedItems.length && { isSortable: true }),
},
{
orderBy: 'account', // Todo: sort by account_alias
orderBy: 'account_alias',
name: intl.formatMessage(messages.detailsResourceNames, { value: 'account' }),
...(computedItems.length && { isSortable: true }),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class InstancesToolbarBase extends React.Component<InstancesToolbarProps,
const options = [
{
name: intl.formatMessage(messages.filterByValues, { value: 'instance' }),
key: 'instance',
key: 'instance_name',
resourceKey: 'instance_name',
},
{
Expand Down

0 comments on commit 0be2f50

Please sign in to comment.