Fix an issue on My Account page

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-12-17 19:32:48 +01:00
parent 056b696b36
commit ebb39aab63
4 changed files with 32 additions and 41 deletions

View File

@@ -55,13 +55,13 @@ export const actorRoutes: RouteConfig[] = [
path: 'create',
name: MyAccountRouteName.CREATE_IDENTITY,
component: EditIdentity,
props: { isUpdate: false },
props: (route) => ({ identityName: route.params.identityName, isUpdate: false }),
},
{
path: 'update/:identityName?',
name: MyAccountRouteName.UPDATE_IDENTITY,
component: EditIdentity,
props: { isUpdate: true },
props: (route) => ({ identityName: route.params.identityName, isUpdate: true }),
},
],
},