Skip to content

Commit

Permalink
fix(rhosak): ent-4689 remove none option
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Jun 24, 2022
1 parent 87a86a9 commit 1e424de
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ Array [
"title": "t(curiosity-toolbar.billing_provider, {\\"context\\":\\"aws\\"})",
"value": "aws",
},
Object {
"selected": false,
"title": "t(curiosity-toolbar.billing_provider, {\\"context\\":\\"none\\"})",
"value": "",
},
]
`;

Expand Down Expand Up @@ -81,11 +76,6 @@ exports[`ToolbarFieldBillingProvider Component should render a basic component:
"title": "t(curiosity-toolbar.billing_provider, {\\"context\\":\\"aws\\"})",
"value": "aws",
},
Object {
"selected": false,
"title": "t(curiosity-toolbar.billing_provider, {\\"context\\":\\"none\\"})",
"value": "",
},
]
}
placeholder="t(curiosity-toolbar.placeholder, {\\"context\\":\\"billing_provider\\"})"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,6 @@ Array [
"title": "t(curiosity-toolbar.billing_provider, {\\"context\\":\\"aws\\"})",
"value": "aws",
},
Object {
"selected": false,
"title": "t(curiosity-toolbar.billing_provider, {\\"context\\":\\"none\\"})",
"value": "",
},
],
"selected": false,
"title": "t(curiosity-toolbar.category, {\\"context\\":\\"billing_provider\\"})",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Object {
},
"RHSM_API_QUERY_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_QUERY_GRANULARITY_TYPES": Object {
Expand Down Expand Up @@ -121,7 +120,6 @@ Object {
},
"RHSM_API_RESPONSE_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_RESPONSE_DATA": "data",
Expand Down Expand Up @@ -247,7 +245,6 @@ Object {
},
"RHSM_API_QUERY_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_QUERY_GRANULARITY_TYPES": Object {
Expand Down Expand Up @@ -337,7 +334,6 @@ Object {
},
"RHSM_API_RESPONSE_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_RESPONSE_DATA": "data",
Expand Down Expand Up @@ -464,7 +460,6 @@ Object {
},
"RHSM_API_QUERY_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_QUERY_GRANULARITY_TYPES": Object {
Expand Down Expand Up @@ -554,7 +549,6 @@ Object {
},
"RHSM_API_RESPONSE_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_RESPONSE_DATA": "data",
Expand Down Expand Up @@ -685,7 +679,6 @@ Object {
},
"RHSM_API_QUERY_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_QUERY_GRANULARITY_TYPES": Object {
Expand Down Expand Up @@ -775,7 +768,6 @@ Object {
},
"RHSM_API_RESPONSE_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_RESPONSE_DATA": "data",
Expand Down
4 changes: 2 additions & 2 deletions src/services/rhsm/rhsmConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,11 @@ const RHSM_API_RESPONSE_GRANULARITY_TYPES = {
*/
const RHSM_API_RESPONSE_BILLING_PROVIDER_TYPES = {
RED_HAT: 'red hat',
AWS: 'aws',
AWS: 'aws'
// GCP: 'gcp',
// AZURE: 'azure',
// ORACLE: 'oracle',
NONE: ''
// NONE: ''
};

/**
Expand Down

0 comments on commit 1e424de

Please sign in to comment.