diff --git a/Composer/packages/client/src/utils/pageLinks.ts b/Composer/packages/client/src/utils/pageLinks.ts index 48ebaacbdc..f6445c8417 100644 --- a/Composer/packages/client/src/utils/pageLinks.ts +++ b/Composer/packages/client/src/utils/pageLinks.ts @@ -48,11 +48,11 @@ export const topLinks = ( isDisabledForPVA: false, }, { - to: `/bot/${rootProjectId || projectId}/botProjectsSettings`, - iconName: 'BotProjectsSettings', - labelName: formatMessage('Configure'), - disabled: !botLoaded, - match: /botProjectsSettings/, + to: linkBase + `language-generation/${openedDialogId}`, + iconName: 'Robot', + labelName: formatMessage('Bot responses'), + disabled: !botLoaded || skillIsRemote, + match: /language-generation\/[a-zA-Z0-9_-]+$/, isDisabledForPVA: false, }, { @@ -63,14 +63,6 @@ export const topLinks = ( match: /language-understanding\/[a-zA-Z0-9_-]+$/, isDisabledForPVA: false, }, - { - to: linkBase + `language-generation/${openedDialogId}`, - iconName: 'Robot', - labelName: formatMessage('Bot responses'), - disabled: !botLoaded || skillIsRemote, - match: /language-generation\/[a-zA-Z0-9_-]+$/, - isDisabledForPVA: false, - }, { to: linkBase + `knowledge-base/${openedDialogId}`, iconName: 'QnAIcon', @@ -79,6 +71,14 @@ export const topLinks = ( match: /knowledge-base\/[a-zA-Z0-9_-]+$/, isDisabledForPVA: isPVASchema, }, + { + to: `/bot/${rootProjectId || projectId}/botProjectsSettings`, + iconName: 'BotProjectsSettings', + labelName: formatMessage('Configure'), + disabled: !botLoaded, + match: /botProjectsSettings/, + isDisabledForPVA: false, + }, ...(showFormDialog ? [ {