Skip to content

Commit 2bf2334

Browse files
authored
fix: [Builders --> Application Runners] Incorrect display of the App Routes tab after creating a new route (Issue #2121) (#2139)
1 parent 2bef11c commit 2bf2334

File tree

1 file changed

+1
-1
lines changed
  • apps/ai-dial-admin/src/components/EntityView/AppRoute

1 file changed

+1
-1
lines changed

apps/ai-dial-admin/src/components/EntityView/AppRoute/AppRoute.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const EntityRoutes: FC<Props> = ({ roles, parentRoleLimits, readonly, iAppRunner
7171
maxRetryAttempts: 1,
7272
} as DialAppRoute,
7373
]);
74-
setActiveRouteIndex(routes?.length || 0 + 1);
74+
setActiveRouteIndex(routes?.length || 0);
7575
},
7676
[handleModalClose, onChangeRoutes, routes],
7777
);

0 commit comments

Comments
 (0)