Skip to content

Commit

Permalink
feat: Display datacard options also for the Intent from the Store
Browse files Browse the repository at this point in the history
  • Loading branch information
Crash-- committed Oct 19, 2023
1 parent 804231f commit d418b8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/targets/intents/HarvestRoute.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { useParams } from 'react-router-dom'
import CozyTheme from 'cozy-ui/transpiled/react/CozyTheme'
import { useClient } from 'cozy-client'
import Intents from 'cozy-interapp'
import datacardOptions from 'cozy-harvest-lib/dist/datacards/datacardOptions'

export const HarvestRoutes = () => {
const { konnectorSlug } = useParams()
Expand All @@ -24,6 +25,7 @@ export const HarvestRoutes = () => {
konnectorRoot={`/${konnectorSlug}`}
konnectorSlug={konnectorSlug}
onDismiss={() => (service ? service.cancel() : undefined)}
datacardOptions={datacardOptions}
/>
</CozyTheme>
)
Expand Down

0 comments on commit d418b8b

Please sign in to comment.