refactor: Update viewPageRoute in CodeRepositoryPage component

This commit is contained in:
Simon Larsen 2024-06-09 19:35:28 +01:00
parent 05c090445a
commit 9b584d69ff
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA

View File

@ -47,7 +47,12 @@ const CodeRepositoryPage: FunctionComponent<PageComponentProps> = (
description:
'Git repositores where the AI Copilot can improve your code.',
}}
viewPageRoute={new Route(Navigation.getCurrentRoute().toString()+"/code-repository")}
viewPageRoute={
new Route(
Navigation.getCurrentRoute().toString() +
'/code-repository'
)
}
showViewIdButton={true}
noItemsMessage={'No repositories found.'}
formFields={[