Skip to content

Commit

Permalink
Merge branch 'ui-feat-azure-tenants' of https://github.com/deepfence/…
Browse files Browse the repository at this point in the history
…ThreatMapper into ui-feat-azure-tenants
  • Loading branch information
milan-deepfence committed Jun 20, 2024
2 parents 0ac05ee + 4ed837f commit 923b6ef
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ const SearchableCloudAccounts = ({
isSelectVariantType && selectedAccounts.length > 0
? `${selectedAccounts.length} selected`
: cloudProvider
? displayValue
? displayValue
: `${cloudProvider} ${getDisplayNameOfNodeType(
cloudProvider as ModelCloudNodeAccountsListReqCloudProviderEnum,
).toLowerCase()}`
: 'Cloud'
? displayValue
: `${cloudProvider} ${getDisplayNameOfNodeType(
cloudProvider as ModelCloudNodeAccountsListReqCloudProviderEnum,
).toLowerCase()}`
: 'Cloud'
}
multiple
value={selectedAccounts}
Expand Down Expand Up @@ -151,10 +151,10 @@ export const SearchableCloudAccountsList = (props: SearchableCloudAccountsListPr
return displayValue
? displayValue
: cloudProvider
? `${cloudProvider} ${getDisplayNameOfNodeType(
cloudProvider as ModelCloudNodeAccountsListReqCloudProviderEnum,
).toLowerCase()}`
: `Cloud`;
? `${cloudProvider} ${getDisplayNameOfNodeType(
cloudProvider as ModelCloudNodeAccountsListReqCloudProviderEnum,
).toLowerCase()}`
: `Cloud`;
}}
multiple
onQueryChange={() => {
Expand Down

0 comments on commit 923b6ef

Please sign in to comment.