Skip to content

Commit

Permalink
fix(Piattaforma Notifiche): [IAMVL-95] Fix PN service activation from…
Browse files Browse the repository at this point in the history
… CTA in message (pagopa#4085)

* Change useOnFirstRender

* Fix param type

* Fix

Co-authored-by: Diego Pasquali <[email protected]>
  • Loading branch information
emiliopavia and dgopsq authored Jul 27, 2022
1 parent 9648e5e commit edb5132
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ts/navigation/AppStackNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,12 @@ const InnerNavigationContainer = (props: { children: React.ReactElement }) => {
[ROUTES.SERVICES_NAVIGATOR]: {
path: "services",
screens: {
[ROUTES.SERVICE_DETAIL]: "service-detail",
[ROUTES.SERVICE_DETAIL]: {
path: "service-detail",
parse: {
activate: activate => activate === "true"
}
},
...(myPortalEnabled ? { [ROUTES.SERVICE_WEBVIEW]: "webview" } : {}),
...(svEnabled ? svLinkingOptions : {})
}
Expand Down

0 comments on commit edb5132

Please sign in to comment.