-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update the navigation link for setting page #4827
chore: update the navigation link for setting page #4827
Conversation
@@ -57,7 +57,7 @@ export const topLinks = ( | |||
disabled: !botLoaded, | |||
}, | |||
{ | |||
to: `/bot/${projectId}/diagnostics`, | |||
to: `/bot/${rootProjectId || projectId}/diagnostics`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be prioritizing projectId over the rootProjectId? meaning if projectId is there us it, otherwise fall back on the rootProjectId (projectId || rootProjectId
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @hatpick The projectId here I think is skillId or rootProjectId, so if the rootProjectId is null, the projectId is root id.
@lei9444 is this PR still WIP? should it moved back to draft? |
Description
Task Item
#minor
Screenshots