Skip to content

Commit 57c52f5

Browse files
authored
Merge pull request #617 from topcoder-platform/TCA-1281_update-urls
TCA-1281 - update root url for gamification admin breadcrumb -> dev
2 parents 529ab32 + beeee67 commit 57c52f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src-ts/tools/gamification-admin/game-lib/hooks/use-gamification-breadcrumb.hook.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function useGamificationBreadcrumb(items: Array<BreadcrumbItemModel>): Ar
77
const breadcrumb: Array<BreadcrumbItemModel> = [
88
{
99
name: toolTitle,
10-
url: rootRoute,
10+
url: rootRoute || '/',
1111
},
1212
...items,
1313
]

src-ts/tools/gamification-admin/pages/create-badge/create-badge-form/create-badge-form.config.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const createBadgeFormDef: FormDefinition = {
2727
{
2828
buttonStyle: 'icon-bordered',
2929
icon: IconOutline.ChevronLeftIcon,
30-
route: rootRoute,
30+
route: rootRoute || '/',
3131
size: 'lg',
3232
},
3333
],

0 commit comments

Comments
 (0)