-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug : Update the credential card dynamically (#1618)
* Bug : Update the credential card dynamically * --Fixed smoke fail issues * --Removed console
- Loading branch information
1 parent
e903adb
commit 627e88e
Showing
18 changed files
with
145 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/gatsby-theme-aio/src/components/GetCredential/Card/CardAPIKey.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/gatsby-theme-aio/src/components/GetCredential/Card/CardAllowedOrigins.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/gatsby-theme-aio/src/components/GetCredential/Card/CardClientId.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/gatsby-theme-aio/src/components/GetCredential/Card/CardClientSecret.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/gatsby-theme-aio/src/components/GetCredential/Card/CardImsOrgID.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import React from 'react'; | ||
import ShowCard from './ShowCard'; | ||
|
||
const CardImsOrgID = ({ cardImsOrgID, imsOrgId }) => { | ||
return <ShowCard heading={cardImsOrgID?.heading} value={imsOrgId} />; | ||
const CardImsOrgID = ({ val: { heading, imsOrgId } }) => { | ||
return heading && <ShowCard heading={heading} value={imsOrgId} /> | ||
}; | ||
|
||
export { CardImsOrgID }; |
4 changes: 2 additions & 2 deletions
4
packages/gatsby-theme-aio/src/components/GetCredential/Card/CardOrganizationName.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/gatsby-theme-aio/src/components/GetCredential/Card/CardScopes.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import React from 'react' | ||
import ShowCard from './ShowCard'; | ||
|
||
const CardScopes = ({ cardScopes }) => { | ||
const CardScopes = ({ val: { heading, scope } }) => { | ||
return ( | ||
<ShowCard heading={cardScopes?.heading} value={cardScopes?.scope} /> | ||
heading && <ShowCard heading={heading} value={scope} /> | ||
) | ||
} | ||
export { CardScopes }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/gatsby-theme-aio/src/components/GetCredential/Return/ReturnAPIKey.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/gatsby-theme-aio/src/components/GetCredential/Return/ReturnAllowedOrigins.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/gatsby-theme-aio/src/components/GetCredential/Return/ReturnClientId.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import React from 'react' | ||
import ShowCard from '../Card/ShowCard'; | ||
|
||
const ReturnClientId = ({ returnClientId, clientId }) => { | ||
const ReturnClientId = ({ val: { heading, clientId } }) => { | ||
return ( | ||
<ShowCard heading={returnClientId?.heading} value={clientId} /> | ||
heading && <ShowCard heading={heading} value={clientId} /> | ||
) | ||
} | ||
export { ReturnClientId }; |
4 changes: 2 additions & 2 deletions
4
packages/gatsby-theme-aio/src/components/GetCredential/Return/ReturnClientSecret.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/gatsby-theme-aio/src/components/GetCredential/Return/ReturnOrganizationName.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.